Fix missing "for" attribute in officer assignment label
Since this attribute was missing, the label wasn't correctly associated with its field.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<%= form_tag(officing_poll_results_path(@poll), { id: "officer_assignment_form" }) do %>
|
||||
<div class="row">
|
||||
<div class="small-12 medium-6 column">
|
||||
<label><%= t("officing.results.new.booth") %></label>
|
||||
<%= label_tag :officer_assignment_id, t("officing.results.new.booth") %>
|
||||
<%= select_tag :officer_assignment_id,
|
||||
booths_for_officer_select_options(@officer_assignments),
|
||||
{ prompt: t("officing.results.new.select_booth") } %>
|
||||
|
||||
Reference in New Issue
Block a user