`select_tag` creates just a select with no label, so there's no need to specify `label: false`.
16 lines
653 B
Plaintext
16 lines
653 B
Plaintext
<% if @officer_assignments.any? %>
|
|
<h2><%= t("officing.poll_budgets.new.title", poll_budget: @poll.name) %></h2>
|
|
|
|
<%= form_tag(officing_poll_ballot_sheets_path(@poll)) do %>
|
|
<label><%= t("officing.poll_budgets.new.booth") %></label>
|
|
<%= select_tag :officer_assignment_id,
|
|
booths_for_officer_select_options(@officer_assignments),
|
|
{ prompt: t("officing.poll_budgets.new.select_booth") } %>
|
|
|
|
<label><%= t("officing.poll_budgets.new.csv_data") %></label>
|
|
<%= text_area_tag :data, nil, rows: 10 %>
|
|
|
|
<%= submit_tag t("officing.poll_budgets.new.submit"), class: "button" %>
|
|
<% end %>
|
|
<% end %>
|