% provide :title do %><%= @poll.name %><% end %>
| <%= t("polls.show.stats.votes") %> | <%= t("polls.show.stats.web") %> | <%= t("polls.show.stats.booth") %> | <%= t("polls.show.stats.total") %> |
|---|---|---|---|
| <%= t("polls.show.stats.valid") %> | <%= @stats[:total_web_valid] %> (<%= @stats[:valid_percentage_web].round(2) %>%) | <%= @stats[:total_booth_valid] %> (<%= @stats[:valid_percentage_booth].round(2) %>%) | <%= @stats[:total_valid_votes] %> (<%= @stats[:total_valid_percentage].round(2) %>%) |
| <%= t("polls.show.stats.white") %> | <%= @stats[:total_web_white] %> (<%= @stats[:white_percentage_web].round(2) %>%) | <%= @stats[:total_booth_white] %> (<%= @stats[:white_percentage_booth].round(2) %>%) | <%= @stats[:total_white_votes] %> (<%= @stats[:total_white_percentage].round(2) %>%) |
| <%= t("polls.show.stats.null_votes") %> | <%= @stats[:total_web_null] %> (<%= @stats[:null_percentage_web].round(2) %>%) | <%= @stats[:total_booth_null] %> (<%= @stats[:null_percentage_booth].round(2) %>%) | <%= @stats[:total_null_votes] %> (<%= @stats[:total_null_percentage].round(2) %>%) |
| <%= t("polls.show.stats.total") %> | <%= @stats[:total_participants_web] %> (<%= @stats[:total_participants_web_percentage].round(2) %>%) | <%= @stats[:total_participants_booth] %> (<%= @stats[:total_participants_booth_percentage].round(2) %>%) | <%= @stats[:total_participants] %> |