Skip to content

Commit 9ecd026

Browse files
author
Derek DeVries
committed
add form control labels to date fields on quizzes edit page
fixes CNVS-6533 test plan - make sure that the labels for the dates on quizzes edit control their respective form fields Change-Id: I62631368d07652c866f54844a44aab736d45b1e4 Reviewed-on: https://gerrit.instructure.com/22962 Tested-by: Jenkins <jenkins@instructure.com> QA-Review: Myller de Araujo <myller@instructure.com> Reviewed-by: Stanley Stuart <stanley@instructure.com> Product-Review: Derek DeVries <ddevries@instructure.com>
1 parent a140664 commit 9ecd026

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

app/views/jst/assignments/DueDateOverride.handlebars

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
<div class="due-date-override-headers clearfix">
44
<div class="section-header">
5-
{{#t "overrides.for"}}
6-
For
7-
{{/t}}
5+
<label for="overrides_course_section">
6+
{{#t "overrides.for"}}For{{/t}}
7+
</label>
88
</div>
99
<div class="due-date-header">
10-
{{#t "overrides.due_date"}}
11-
Due Date
12-
{{/t}}
10+
<label for="overrides_due_date">
11+
{{#t "overrides.due_date"}}Due Date{{/t}}
12+
</label>
1313
</div>
1414
<div class="lock-header">
15-
{{#t "overrides.available_from"}}
16-
Available From
17-
{{/t}}
15+
<label for="overrides_unlock_at">
16+
{{#t "overrides.available_from"}}Available From{{/t}}
17+
</label>
1818
</div>
1919
<div class="unlock-header">
20-
{{#t "until"}}
21-
Until
22-
{{/t}}
20+
<label for="overrides_lock_at">
21+
{{#t "until"}}Until{{/t}}
22+
</label>
2323
</div>
2424

2525
</div>

app/views/jst/assignments/DueDateView.handlebars

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<form>
22
{{#with assignment_override}}
3-
<select class="section-list input-small" name="course_section_id">
3+
<select class="section-list input-small" name="course_section_id" id="overrides_course_section">
44
</select>
55

66
<div class="date_field_container">
77
<input value="{{datetimeFormatted due_at}}" name="due_at" type="text"
8-
class="input-small date_field">
8+
class="input-small date_field" id="overrides_due_date">
99
</div>
1010

1111
<div class="date_field_container">
1212
<input name="unlock_at" value="{{datetimeFormatted unlock_at}}" type="text"
13-
class="date_field">
13+
class="date_field" id="overrides_unlock_at">
1414
</div>
1515

1616
<div class="date_field_container to">
1717
<input name="lock_at" value="{{datetimeFormatted lock_at}}" type="text"
18-
class="date_field">
18+
class="date_field" id="overrides_lock_at">
1919
</div>
2020

2121
<div>

0 commit comments

Comments
 (0)