Sha256: 006aa379873af79c771a289a1693e6da0baf6d7a249622271457d8b3a8251dc6

Contents?: true

Size: 1.11 KB

Versions: 7

Compression:

Stored size: 1.11 KB

Contents

<% unless elections.one? %>
  <%= link_to voting_monitoring_committee_election_results_path(current_voting) do %>
    <%= icon "arrow-left-s-fill", 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 %>
    <div id="pending_action"
          data-api-endpoint-url="<%= bulletin_board_server %>"
          data-message-id="<%= publish_results_form.pending_action.message_id %>"></div>

    <%= append_javascript_pack_tag "decidim_elections_admin" %>
    <span class='loading-spinner'></span> <%= t(".publishing") %></div>
  <% else %>
    <div class="form__wrapper-block flex-col-reverse md:flex-row justify-between">
      <%= f.submit t(".publish_results"), class: "button button__sm button__secondary" %>
    </div>
  <% end %>
<% end %>

<%= append_stylesheet_pack_tag "decidim_votings_admin" %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb
decidim-elections-0.28.3 app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb
decidim-elections-0.28.2 app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb
decidim-elections-0.28.1 app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb
decidim-elections-0.28.0 app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb