<% unless elections.one? %> <%= link_to voting_monitoring_committee_election_results_path(current_voting) do %> <%= icon "caret-left", class: "icon--small", role: "img" %> <%= t(".change_election") %> <% end %> <% end %> <%= render partial: "results", locals: { groups: publish_results_form.groups } %> <%= decidim_form_for publish_results_form, url: voting_monitoring_committee_election_result_path(current_voting, election), method: :put, html: { class: "form step" } do |f| %> <% if publish_results_form.pending_action %>
<%= javascript_pack_tag "decidim_elections_admin_pending_action" %> <%= t(".publishing") %> <% else %>
<%= f.submit t(".publish_results") %>
<% end %> <% end %> <%= stylesheet_pack_tag "decidim_votings_admin_votings", media: "all" %>