diff --git a/app/views/admin/budget_investments/_search_form.html.erb b/app/views/admin/budget_investments/_search_form.html.erb index 80b722bed..b6c24b1a1 100644 --- a/app/views/admin/budget_investments/_search_form.html.erb +++ b/app/views/admin/budget_investments/_search_form.html.erb @@ -35,33 +35,28 @@
<%= select_tag :administrator_id, options_for_select(admin_select_options, params[:administrator_id]), - { prompt: t("admin.budget_investments.index.administrator_filter_all"), - label: false } %> + { prompt: t("admin.budget_investments.index.administrator_filter_all") } %>
<%= select_tag :valuator_or_group_id, options_for_select(valuator_or_group_select_options, params[:valuator_or_group_id]), - { prompt: t("admin.budget_investments.index.valuator_filter_all"), - label: false } %> + { prompt: t("admin.budget_investments.index.valuator_filter_all") } %>
<%= select_tag :heading_id, options_for_select(budget_heading_select_options(@budget), params[:heading_id]), - { prompt: t("admin.budget_investments.index.heading_filter_all"), - label: false } %> + { prompt: t("admin.budget_investments.index.heading_filter_all") } %>
<%= select_tag :tag_name, options_for_select(investment_tags_select_options(@budget), params[:tag_name]), - { prompt: t("admin.budget_investments.index.tags_filter_all"), - label: false } %> + { prompt: t("admin.budget_investments.index.tags_filter_all") } %>
<%= select_tag :milestone_tag_name, options_for_select(investment_milestone_tags_select_options(@budget), params[:milestone_tag_name]), - { prompt: t("admin.budget_investments.index.milestone_tags_filter_all"), - label: false } %> + { prompt: t("admin.budget_investments.index.milestone_tags_filter_all") } %>
diff --git a/app/views/admin/poll/shifts/_form.html.erb b/app/views/admin/poll/shifts/_form.html.erb index 5b0f86e7c..c09f63d85 100644 --- a/app/views/admin/poll/shifts/_form.html.erb +++ b/app/views/admin/poll/shifts/_form.html.erb @@ -23,13 +23,11 @@ <%= select "shift[date]", "vote_collection_date", options_for_select(shift_vote_collection_dates(@booth, @voting_polls)), - { prompt: @voting_polls.present? ? t("admin.poll_shifts.new.select_date") : t("admin.poll_shifts.new.no_voting_days"), - label: false }, + { prompt: @voting_polls.present? ? t("admin.poll_shifts.new.select_date") : t("admin.poll_shifts.new.no_voting_days") }, class: "js-shift-vote-collection-dates" %> <%= select "shift[date]", "recount_scrutiny_date", options_for_select(shift_recount_scrutiny_dates(@booth, @recount_polls)), - { prompt: t("admin.poll_shifts.new.select_date"), - label: false }, + { prompt: t("admin.poll_shifts.new.select_date") }, class: "js-shift-recount-scrutiny-dates", hidden: "hidden" %>
diff --git a/app/views/admin/site_customization/content_blocks/_form_heading_content_block.html.erb b/app/views/admin/site_customization/content_blocks/_form_heading_content_block.html.erb index 3f9e8e4b8..f05f0c1e9 100644 --- a/app/views/admin/site_customization/content_blocks/_form_heading_content_block.html.erb +++ b/app/views/admin/site_customization/content_blocks/_form_heading_content_block.html.erb @@ -13,11 +13,11 @@
<%= label_tag :name %> - <%= select_tag :name, options_for_select(valid_blocks, @selected_content_block), label: false %> + <%= select_tag :name, options_for_select(valid_blocks, @selected_content_block) %>
<%= label_tag :locale %> - <%= select_tag :locale, options_for_select(I18n.available_locales, @content_block.locale.to_sym), label: false %> + <%= select_tag :locale, options_for_select(I18n.available_locales, @content_block.locale.to_sym) %>
<%= label_tag :body %> diff --git a/app/views/officing/ballot_sheets/new.html.erb b/app/views/officing/ballot_sheets/new.html.erb index a83c3a7d0..a715933d0 100644 --- a/app/views/officing/ballot_sheets/new.html.erb +++ b/app/views/officing/ballot_sheets/new.html.erb @@ -5,7 +5,7 @@ <%= select_tag :officer_assignment_id, booths_for_officer_select_options(@officer_assignments), - { prompt: t("officing.poll_budgets.new.select_booth"), label: false } %> + { prompt: t("officing.poll_budgets.new.select_booth") } %> <%= text_area_tag :data, nil, rows: 10 %> diff --git a/app/views/officing/results/new.html.erb b/app/views/officing/results/new.html.erb index 39cde8186..9b2855133 100644 --- a/app/views/officing/results/new.html.erb +++ b/app/views/officing/results/new.html.erb @@ -7,8 +7,7 @@ <%= select_tag :officer_assignment_id, booths_for_officer_select_options(@officer_assignments), - { prompt: t("officing.results.new.select_booth"), - label: false } %> + { prompt: t("officing.results.new.select_booth") } %>