<%= @poll.name %>

<%= render 'warnings' %>

<% @questions.each do |question| %>
  <div id="<%= dom_id(question) %>">
    <%= question.title %>

    <%= question.valid_answers.each do |valid_answer| %>
      <% if can? :answer, @poll %>
        <%= link_to valid_answer %>
      <% else %>
        <span><%= valid_answer %></span>
      <% end %>
    <% end %>

    <% if false #wrong geozone %>
      <div class="callout warning">
        <%= t('polls.show.cant_answer_wrong_geozone') %>
      </div>
    <% end %>
  </div>
<% end %>
