<%= content_tag :strong, t("recount_summary", scope: "decidim.votings.polling_station_closure_recount") %>

<%= content_tag :strong, t("total_ballots", scope: "decidim.votings.polling_station_closure_recount") %> <%= model.results.total_ballots&.first&.value %>
<%= content_tag :strong, t("total_valid_ballots", scope: "decidim.votings.polling_station_closure_recount") %> <%= model.results.valid_ballots&.first&.value %>
<%= content_tag :strong, t("total_blank_ballots", scope: "decidim.votings.polling_station_closure_recount") %> <%= model.results.blank_ballots&.first&.value %>
<%= content_tag :strong, t("total_null_ballots", scope: "decidim.votings.polling_station_closure_recount") %> <%= model.results.null_ballots&.first&.value %>
<% model.election.questions.each do |question| %>
<%= content_tag :strong, translated_attribute(question.title) %>
<% question.answers.each.with_index(1) do |answer, index| %> <%= content_tag :strong, translated_attribute(answer.title) %>: <%= content_tag :span, answer.results&.valid_answers&.first&.value %> <% unless index == question.answers.count %>
<% end %> <% end %> <% if question.nota_option? %>
<%= content_tag :strong, t("nota_option", scope: "decidim.votings.polling_station_closure_recount") %> <%= content_tag :span, question.results.blank_answers&.first&.value %> <% end %>
<% end %>

<%= content_tag :strong, t("polling_officer_notes", scope: "decidim.votings.polling_station_closure_recount") %>
<% if model.polling_officer_notes.present? %> <%= model.polling_officer_notes %> <% else %> <%= content_tag :span, t("polling_officer_notes_blank", scope: "decidim.votings.polling_station_closure_recount"), class: "text-muted" %> <% end %>

<% if model.signed? %>

<%= content_tag :strong, t("signed", scope: "decidim.votings.polling_station_closure_recount"), class: "text-success" %>

<% end %>