Skip to content

Commit 205b00c

Browse files
committed
Better selection of radio buttons
1 parent 2b69426 commit 205b00c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

conditional/templates/co_op.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h3 class="page-title">Co-Op Submission</h3>
1515
<form data-module="coopSubmitForm">
1616
<div class="co-op-group">
1717
<div class="col-xs-12 col-sm-6">
18-
<div class="radio">
18+
<div class="radio co-op-radio">
1919
<label>
2020
<input type="radio" name="semester" id="fall" value="Fall">
2121
<div class="co-op-option">
@@ -26,7 +26,7 @@ <h4 class="list-group-item-heading">Fall Semester</h4>
2626
</div>
2727
</div>
2828
<div class="col-xs-12 col-sm-6">
29-
<div class="radio">
29+
<div class="radio co-op-radio">
3030
<label>
3131
<input type="radio" name="semester" id="spring" value="Spring">
3232
<div class="co-op-option">
@@ -40,7 +40,8 @@ <h4 class="list-group-item-heading">Spring Semester</h4>
4040
<input type="submit" role="button" class="btn btn-raised btn-primary" style="width:100%;" value="Submit Form"/>
4141
</form>
4242
{% else %}
43-
<p class="align-center">Thanks for submitting this form. Good luck on your {{on_coop.semester}} co-op!</p>
43+
<p class="align-center">Thank you for submitting this form. Good luck on your {{on_coop.semester}} co-op!</p>
44+
<p class="align-center">If you submitted this form by mistake or your plans have changed, please contact the Evaluations Director.</p>
4445
{% endif %}
4546
</div>
4647
</div>

frontend/stylesheets/pages/_co-op.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
padding-left: 10px;
1111
}
1212

13-
.radio-inline input[type='radio'],
14-
.radio input[type='radio'],
15-
input[type='radio'] {
16-
position: fixed;
17-
margin-top: 20px;
13+
.co-op-radio {
14+
input {
15+
&[type='radio'] {
16+
position: fixed;
17+
margin-top: 20px;
18+
}
19+
}
1820
}

0 commit comments

Comments
 (0)