File tree Expand file tree Collapse file tree 2 files changed +32
-24
lines changed Expand file tree Collapse file tree 2 files changed +32
-24
lines changed Original file line number Diff line number Diff line change @@ -519,3 +519,9 @@ a:hover .faq-icon {
519
519
.manage-author-list .row : nth-child (2 ) {
520
520
background-color : rgba (0 , 0 , 0 , 0.1 );
521
521
}
522
+ .leave-question-form-entry .leave-question-form-wrapper {
523
+ margin : 0.5rem 1rem 0 1rem ;
524
+ }
525
+ .leave-question-header {
526
+ margin-top : 1rem ;
527
+ }
Original file line number Diff line number Diff line change 1
1
<div id =" leave-a-question question-box-{{ type }}" >
2
- <form method =" post" class =" leave-question-form" >
2
+ <form method =" post" class =" leave-question-form leave-question-form-{{ type }} " >
3
3
{{ anti_csrf() }}
4
- <h3 >Leave a question?</h3 >
4
+ <h3 class = " leave-question-header leave-question-{{ type }}-header " >Leave a question?</h3 >
5
5
6
- <div class =" form-group" id =" leave-question-form-group" >
7
- <label for =" question-question" >Question:</label >
8
- <input
9
- class =" form-control"
10
- id =" question-question"
11
- name =" question"
12
- placeholder =" Type your question here..."
13
- required =" required"
14
- pattern =" ^.{4,}$"
15
- type =" text"
16
- />
17
- <div class =" row" >
18
- <div class =" col-sm-10" >
19
- <input
20
- id =" question-attribution"
21
- name =" attribution"
22
- type =" checkbox"
23
- />
24
- <label for =" question-attribution" >Attribute to you? (Default is anonymous)</label >
25
- </div >
26
- <div class =" col-sm-2 text-right" >
27
- <button class =" btn btn-verydark" type =" submit" >Ask Question</button >
6
+ <div class =" leave-question-form-wrapper" >
7
+ <div class =" form-group leave-question-form-group" id =" leave-question-form-group" >
8
+ <label for =" question-question" >Question:</label >
9
+ <input
10
+ class =" form-control"
11
+ id =" question-question"
12
+ name =" question"
13
+ placeholder =" Type your question here..."
14
+ required =" required"
15
+ pattern =" ^.{4,}$"
16
+ type =" text"
17
+ />
18
+ <div class =" row" >
19
+ <div class =" col-sm-10" >
20
+ <input
21
+ id =" question-attribution"
22
+ name =" attribution"
23
+ type =" checkbox"
24
+ />
25
+ <label for =" question-attribution" >Attribute to you? (Default is anonymous)</label >
26
+ </div >
27
+ <div class =" col-sm-2 text-right" >
28
+ <button class =" btn btn-verydark" type =" submit" >Ask Question</button >
29
+ </div >
28
30
</div >
29
31
</div >
30
32
</div >
You can’t perform that action at this time.
0 commit comments