Sha256: ed0e3c00905f1e6132db746c97d6a24c4ad54e0081fda104fff9c8150612fe52

Contents?: true

Size: 1.78 KB

Versions: 7

Compression:

Stored size: 1.78 KB

Contents

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

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

  <div class="text-center py-10">
    <h1 class="title-decorator inline-block text-left">
      <%= if closure.certificate_phase?
            t("heading", scope: "decidim.votings.polling_officer_zone.closures.certify")
          elsif closure.signature_phase?
            t("heading", scope: "decidim.votings.polling_officer_zone.closures.sign")
          else
            t("heading", scope: "decidim.votings.polling_officer_zone.closures.show")
          end %>
    </h1>
  </div>

  <p class="text-gray-2">
    <%= if closure.certificate_phase?
          t("info_text", scope: "decidim.votings.polling_officer_zone.closures.certify")
        elsif closure.signature_phase?
          t("info_text", scope: "decidim.votings.polling_officer_zone.closures.sign")
        else
          t("info_text", scope: "decidim.votings.polling_officer_zone.closures.show")
        end %>
  </p>

  <%= cell("decidim/votings/polling_station_closure_recount", closure) %>

  <%= cell("decidim/votings/polling_station_closure_certificate", closure) %>

  <%= render "certify_form" if closure.certificate_phase? %>

  <%= render "sign_form" if closure.signature_phase? && !closure.signed? %>

  <% unless closure.certificate_phase? || (closure.signature_phase? && !closure.signed?) %>
    <div class="form__wrapper-block flex-col-reverse md:flex-row justify-between">
      <%= link_to polling_officers_path, class: "button button__sm md:button__lg button__text-secondary" do %>
        <%= icon "arrow-left-line" %>
        <%= t("back_to_polling_stations", scope: "decidim.votings.polling_officer_zone.closures") %>
      <% end %>
    </div>
  <% 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/closures/show.html.erb
decidim-elections-0.28.3 app/views/decidim/votings/polling_officer_zone/closures/show.html.erb
decidim-elections-0.28.2 app/views/decidim/votings/polling_officer_zone/closures/show.html.erb
decidim-elections-0.28.1 app/views/decidim/votings/polling_officer_zone/closures/show.html.erb
decidim-elections-0.28.0 app/views/decidim/votings/polling_officer_zone/closures/show.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/votings/polling_officer_zone/closures/show.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/votings/polling_officer_zone/closures/show.html.erb