Skip to content

Commit

Permalink
Add missing labels on assessor/form_answers#index
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Kirkham <[email protected]>
  • Loading branch information
TheDancingClown committed Nov 14, 2024
1 parent eb73ef8 commit f0d64f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/views/assessor/form_answers/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ h1.admin-page-heading
= f.label :query, "Search", class: "search-input__label"
= f.hint "By company name, reference number or category", class: "search-input__hint"
.form-group.search-input
= label_tag :award_type, "Award Type", class: "visuallyhidden", aria: { hidden: true }
= text_field_tag :award_type, params[:award_type], class: "visuallyhidden", aria: { hidden: true }, tabindex: "-1"
= f.input :query, label: false, input_html: { class: "form-control", type: "search", aria: {label: 'Search applications'} }
= submit_tag :submit, class: 'search-submit'
Expand Down
4 changes: 2 additions & 2 deletions app/views/shared/form_answers/_top_statuses_filters.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
collection: options,
label: false,
input_html: { multiple: true, class: 'js-admin-filter-option if-js-hide', aria: {label: 'Status select'} }
label.applications-filter__label
label.applications-filter__label for="status_application_table_search_form"
' Status
.dropdown.if-no-js-hide
a.dropdown-toggle.btn.btn-block.btn-default href="#" role="button" aria-expanded="false"
Expand Down Expand Up @@ -38,7 +38,7 @@
collection: sub_options,
label: false,
input_html: { multiple: true, class: 'js-admin-filter-option if-js-hide', aria: {label: 'Post Submission Status select'}}
label.applications-filter__label
label.applications-filter__label for="sub_status_application_table_search_form"
' Post Submission Status
.dropdown.if-no-js-hide
a.dropdown-toggle.btn.btn-block.btn-default href="#" role="button" aria-expanded="false"
Expand Down

0 comments on commit f0d64f2

Please sign in to comment.