diff --git a/app/views/admin/poll/recounts/index.html.erb b/app/views/admin/poll/recounts/index.html.erb index 151a8335d..05b415729 100644 --- a/app/views/admin/poll/recounts/index.html.erb +++ b/app/views/admin/poll/recounts/index.html.erb @@ -50,8 +50,6 @@ <% @booth_assignments.each do |booth_assignment| %> - <% total_recounts = total_recounts_by_booth(booth_assignment) %> - <% system_count = booth_assignment.voters.size %> @@ -60,21 +58,13 @@ <% unless @poll.budget_poll? %> - <% if total_recounts.present? %> - <%= total_recounts %> - <% else %> - - - <% end %> + <%= total_recounts_by_booth(booth_assignment) || "-" %> <% end %> <% unless @poll.recounts_confirmed? %> - <% if system_count.present? %> - <%= system_count %> - <% else %> - 0 - <% end %> + <%= booth_assignment.voters.size || 0 %> <% end %>