Sha256: 4ab8c664c5c1b97a483a1c29192ae3f3ef069a622f4eef3af85f76e8e34e7c72

Contents?: true

Size: 985 Bytes

Versions: 7

Compression:

Stored size: 985 Bytes

Contents

<%= append_javascript_pack_tag "decidim_votings" %>
<%= append_stylesheet_pack_tag "decidim_votings" %>

<%= render layout: "layouts/decidim/shared/layout_user_profile" do %>

  <%= cell("decidim/announcement", t("polling_officer_role_description", scope: "decidim.votings.polling_officer_zone.polling_officers.index"), callout_class: "success") %>

  <h2 class="h3"><%= t("polling_station.title", scope: "decidim.votings.polling_officer_zone.polling_officers.index") %></h2>

  <% if polling_officers_elections.any? %>
    <% polling_officers_elections.each do |election| %>
      <% polling_officer = polling_officers.find_by(voting: election.participatory_space) %>
      <%= render partial: "polling_station", locals: { polling_officer:, election: } %>
    <% end %>
  <% else %>
    <%= cell("decidim/announcement", t("polling_station.no_polling_stations", scope: "decidim.votings.polling_officer_zone.polling_officers.index"), callout_class: "warning") %>
  <% end %>

<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb
decidim-elections-0.28.3 app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb
decidim-elections-0.28.2 app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb
decidim-elections-0.28.1 app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb
decidim-elections-0.28.0 app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb