<%= t("stats.advanced") %>

<%= t("stats.polls.by_channel") %>

<% stats.channels.each do |channel| %> <%= number_with_info_tags( stats.send("total_participants_#{channel}"), t( "stats.polls.#{channel}_percentage", percentage: number_to_stats_percentage(stats.send(:"total_participants_#{channel}_percentage")) ), html_class: channel ) %> <% end %>

<%= t("stats.polls.vote_by_channel") %>

<% stats.channels.each do |channel| %> <% end %> <% stats.channels.each do |channel| %> <% end %> <% stats.channels.each do |channel| %> <% end %> <% stats.channels.each do |channel| %> <% end %> <% stats.channels.each do |channel| %> <% end %>
<%= t("polls.show.stats.votes") %><%= t("polls.show.stats.#{channel}") %><%= t("polls.show.stats.total") %>
<%= t("polls.show.stats.valid") %> <%= stats.send(:"total_#{channel}_valid") %> (<%= stats.send(:"valid_percentage_#{channel}").round(2) %>%) <%= stats.total_valid_votes %> (<%= stats.total_valid_percentage.round(2) %>%)
<%= t("polls.show.stats.white") %> <%= stats.send(:"total_#{channel}_white") %> (<%= stats.send(:"white_percentage_#{channel}").round(2) %>%) <%= stats.total_white_votes %> (<%= stats.total_white_percentage.round(2) %>%)
<%= t("polls.show.stats.null_votes") %> <%= stats.send(:"total_#{channel}_null") %> (<%= stats.send(:"null_percentage_#{channel}").round(2) %>%) <%= stats.total_null_votes %> (<%= stats.total_null_percentage.round(2) %>%)
<%= t("polls.show.stats.total") %> <%= stats.send(:"total_participants_#{channel}") %> (<%= stats.send(:"total_participants_#{channel}_percentage").round(2) %>%) <%= stats.total_participants %>