<% if vote_check.allowed? %>
<% if voted_online? %>
<%= t(".census_verified_with_online_vote") %>
<% else %>
<%= t(".census_verified") %>
<% end %>
<% if voted_online? %>

<%= t(".questions_title_voted") %>

<% else %>

<%= t(".questions_title") %>

<% 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: nil } %> <%= f.submit t(".complete_voting"), class: "button button--sc expanded mt-sm mb-none disabled", id: "submit_complete_voting" %> <% end %>
<% else %>
<%= vote_check.error_message %>
<% end %>
<% content_for :js_content do %> <%= javascript_pack_tag "decidim_votings_voting_polling_officer_zone_in_person_vote" %> <% end %>