Sha256: 502ddd83aa06b452bdc350861573890ae29da8c7b2b73f6b20713be058b29d49

Contents?: true

Size: 669 Bytes

Versions: 7

Compression:

Stored size: 669 Bytes

Contents

<section class="content-block">
  <h2 class="h2 decorator">
    <%= t("heading", scope: "decidim.votings.content_blocks.landing_page.polling_stations") %>
  </h2>

  <% if polling_stations.any? %>
    <div class="voting__map">
      <div>
        <% polling_stations.each do |polling_station| %>
          <div class="voting__map-address">
            <%== cell("decidim/address", polling_station) %>
          </div>
        <% end %>
      </div>

      <%= cell "decidim/votings/voting_map", polling_stations %>
    </div>
  <% else %>
    <%= t("no_polling_stations", scope: "decidim.votings.content_blocks.landing_page.polling_stations") %>
  <% end %>
</section>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/cells/decidim/votings/content_blocks/polling_stations/show.erb
decidim-elections-0.28.3 app/cells/decidim/votings/content_blocks/polling_stations/show.erb
decidim-elections-0.28.2 app/cells/decidim/votings/content_blocks/polling_stations/show.erb
decidim-elections-0.28.1 app/cells/decidim/votings/content_blocks/polling_stations/show.erb
decidim-elections-0.28.0 app/cells/decidim/votings/content_blocks/polling_stations/show.erb
decidim-elections-0.28.0.rc5 app/cells/decidim/votings/content_blocks/polling_stations/show.erb
decidim-elections-0.28.0.rc4 app/cells/decidim/votings/content_blocks/polling_stations/show.erb