Sha256: 91d9d7f73ed23e112d9e94cc5b13a1193b6f59cb9680e2dd48260a0c874ed587

Contents?: true

Size: 719 Bytes

Versions: 7

Compression:

Stored size: 719 Bytes

Contents

<% if elections.none? %>
  <%= cell("decidim/announcement", t("decidim.elections.warnings.no_elections_warning"), callout_class: "warning") %>
<% elsif scheduled_elections.none? %>
  <%= cell("decidim/announcement", t("decidim.elections.warnings.no_scheduled_elections_warning"), callout_class: "warning") %>
<% end %>

<h2 class="h5 md:h3 decorator"><%= t("elections_count", scope: "decidim.elections.elections.count", count: paginated_elections.total_count) %></h2>

<%= order_selector available_orders, i18n_scope: "decidim.elections.orders" %>

<div class="card__grid-grid">
  <% paginated_elections.each do |election| %>
    <%= card_for election %>
  <% end %>
</div>

<%= decidim_paginate paginated_elections %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/elections/elections/_elections.html.erb
decidim-elections-0.28.3 app/views/decidim/elections/elections/_elections.html.erb
decidim-elections-0.28.2 app/views/decidim/elections/elections/_elections.html.erb
decidim-elections-0.28.1 app/views/decidim/elections/elections/_elections.html.erb
decidim-elections-0.28.0 app/views/decidim/elections/elections/_elections.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/elections/elections/_elections.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/elections/elections/_elections.html.erb