<%= render Polls::AccessStatusComponent.new(poll) %>
<% if poll.image.present? %> <%= image_tag poll.image.variant(:large), alt: poll.image.title.unicode_normalize %> <% end %>
<% if poll.questions.one? %>

<%= link_to_poll poll.questions.first.title, poll %>

<%= dates %>
<% else %>

<%= link_to_poll poll.name, poll %>

<%= dates %>
    <% poll.questions.sort_for_list.each do |question| %>
  • <%= question.title %>
  • <% end %>
<% end %> <%= render Polls::GeozonesComponent.new(poll) %> <%= render SDG::TagListComponent.new(poll, limit: 5, linkable: false) %>
<% if poll.expired? %> <%= link_to_poll t("polls.index.participate_button_expired"), poll, class: "button hollow expanded" %> <% else %> <%= link_to_poll t("polls.index.participate_button"), poll, class: "button hollow expanded" %> <% end %>