Sha256: d44c90f85ba8693d3251d6fd202e7a13c9f8725baa7e200f5b91d04958e74024

Contents?: true

Size: 1.89 KB

Versions: 12

Compression:

Stored size: 1.89 KB

Contents

<div class="m-bottom">
  <%= link_to polling_officers_path, class: "small hollow" do %>
    <%= icon "chevron-left", class: "icon--small", role: "presentation", "aria-hidden": true %>
    <%= t("back_to_polling_stations", scope: "decidim.votings.polling_officer_zone.closures") %>
  <% end %>
</div>

<%= content_tag :h2, t(".heading") %>

<p>
  <%= content_tag :span,
                  present(election).title,
                  title: t("polling_station.election", scope: "decidim.votings.polling_officer_zone.polling_officers.index") %>

  <%= content_tag :small,
                  present(election.participatory_space).title,
                  title: t("polling_station.voting", scope: "decidim.votings.polling_officer_zone.polling_officers.index") %>
</p>

<%= content_tag :p, t(".info_text") %>

<%= decidim_form_for(@form, url: polling_officer_election_closure_path(polling_officer, election),
                     html: { class: "form edit_closure" }) do |form| %>

  <%= form.hidden_field :election_id %>
  <%= form.hidden_field :polling_station_id %>

  <%= render partial: "ballot_results_form_fields", locals: { form: form } %>

  <%= render partial: "question_results_form_fields", locals: { form: form } %>

  <%= form.submit t(".save_recount"), id: "submit-ballot-recount", class: "button button--sc mt-sm" %>

  <%= content_tag :button,
                  t(".save_recount"),
                  type: "button",
                  id: "btn-modal-closure-results-count-error",
                  class: "button button--sc mt-sm hide",
                  data: { open: "modal-closure-results-count-error" },
                  aria: {
                          controls:"modal-closure-results-count-error",
                          haspopup: "dialog"
                        } %>
<% end %>

<%= render "modal_ballots_results_count_error" %>

<%= javascript_pack_tag "decidim_votings_voting_polling_officer_zone_edit_closure" %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-elections-0.26.10 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.9 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.8 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.7 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.5 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.4 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.3 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.2 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.1 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.0 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.0.rc2 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb
decidim-elections-0.26.0.rc1 app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb