<%= back_link_to new_officing_residence_path %>

<%= t("officing.voters.new.title") %>

<% if @polls.any? %> <% @polls.each do |poll| %> <% if poll.votable_by?(@user) %> <%= render "can_vote", poll: poll %> <% elsif poll.voted_by?(@user) || poll.user_has_an_online_ballot?(@user) %> <%= render "already_voted" %> <% else %> <%= render "cannot_vote" %> <% end %> <% end %>
<%= t("officing.voters.new.table_poll") %> <%= t("officing.voters.new.table_status") %> <%= t("officing.voters.new.table_actions") %>
<%= poll.name %>
<% end %> <% if Poll.votable_by(@user).any? %>
<%= link_to t("officing.voters.new.not_to_vote"), namespaced_root_path, class: "button" %>
<% end %>