Files
nairobi/app/views/officing/ballot_sheets/new.html.erb
Javi Martín 5fe56a62f1 Remove useless label false parameter in select_tag
`select_tag` creates just a select with no label, so there's no need to
specify `label: false`.
2019-10-06 19:32:04 +02:00

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 %>