Files
nairobi/app/views/officing/ballot_sheets/new.html.erb
2019-04-10 16:04:39 +02:00

16 lines
667 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: false } %>
<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 %>