% add_decidim_meta_tags( title: translated_attribute(election.title), description: translated_attribute(election.description) ) %> <% edit_link( resource_locator(election).edit, :update, :election, election: ) %> <%= append_javascript_pack_tag "decidim_elections" %> <%= append_stylesheet_pack_tag "decidim_elections" %> <% content_for :aside do %> <%= cell("decidim/elections/election_vote_cta", election) %> <%= t("verify.already_voted", scope: "decidim.elections.elections.show") %> <%= icon "checkbox-multiple-line" %> <% if election.started? %> <%= link_to t("verify.verify_here", scope: "decidim.elections.elections.show"), election_vote_verify_path( "#{current_participatory_space.underscored_name}_slug".to_sym => current_participatory_space.slug, component_id: current_component.id, election_id: election.id, vote_id: "_" ) %> <% else %> <%= t("verify.will_verify", scope: "decidim.elections.elections.show") %> <% end %> <%= icon "book-2-line" %> <%= link_to(t("election_log", scope: "decidim.elections.elections.show"), election_log_election_path(election)) %> <% end %> <%= render layout: "layouts/decidim/shared/layout_item" do %> <%= render partial: "decidim/shared/component_announcement" %> <%= cell "decidim/elections/remaining_time_callout", election %> <%= cell("decidim/announcement", t("voting_period_status.#{election.voting_period_status}", scope: "decidim.elections.elections.show", start_time: "#{l election.start_time, format: :long}", end_time: "#{l election.end_time, format: :long}").html_safe) %> <%== present(election).title %> <%= decidim_sanitize_editor_admin(translated_attribute(election.description)) %> <%= attachments_for election %> <% if onboarding %> <%= render partial: "decidim/elections/votes/onboarding_modal" %> <% end %> <% unless election.finished? %> <%= cell("decidim/elections/election_preview", election) %> <% end %> <% if election.results_published? %> <%= cell("decidim/elections/election_results", election) %> <% end %> <% end %>
<%= t("verify.already_voted", scope: "decidim.elections.elections.show") %>