% 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 %>
<%= t("elections_count", scope: "decidim.elections.elections.count", count: paginated_elections.total_count) %>
<%= order_selector available_orders, i18n_scope: "decidim.elections.orders" %>
<% paginated_elections.each do |election| %>
<%= card_for election %>
<% end %>
<%= decidim_paginate paginated_elections %>