<% if vote_check.allowed? %> <%= cell("decidim/announcement", voted_online? ? t(".census_verified_with_online_vote") : t(".census_verified"), callout_class: "success") %>

<%= voted_online? ? t(".questions_title_voted") : t(".questions_title") %>

<% questions.each_with_index do |question, ix| %>
<% end %>
<%= decidim_form_for(in_person_vote_form, url: polling_officer_election_in_person_votes_path(polling_officer, election)) do |f| %> <%= f.hidden_field :voter_token %> <%= f.hidden_field :voter_id %>
<%= f.check_box :voted, label: t(".voted"), id: "person_voted_checkbox", label_options: { for: "person_voted_checkbox", class: "form__wrapper-checkbox-label" } %>
<%= f.submit t(".complete_voting"), class: "button button__sm md:button__lg button__secondary", id: "submit_complete_voting" %>
<% end %> <% else %> <%= cell("decidim/announcement", vote_check.error_message, callout_class: "alert") %>
<%= link_to exit_path, class: "button button__sm md:button__lg button__secondary" do %> <%= t(".identify_another") %> <% end %>
<% end %>