diff --git a/app/views/polls/stats.html.erb b/app/views/polls/stats.html.erb index 54ad19a59..e09780af0 100644 --- a/app/views/polls/stats.html.erb +++ b/app/views/polls/stats.html.erb @@ -11,85 +11,13 @@
<%= link_to t("stats.title"), "#participation_statistics" %>
- + <%= render "shared/stats/links" %>- <%= @stats[:total_participants] %> - <%= t("polls.show.stats.total_votes") %> -
-- <%= @stats[:total_male_participants] %> - - <%= I18n.t("stats.men_percentage", - percentage: number_to_stats_percentage(@stats[:male_percentage])) %> - -
- -- <%= @stats[:total_female_participants] %> - - <%= I18n.t("stats.women_percentage", - percentage: number_to_stats_percentage(@stats[:female_percentage])) %> - -
-| <%= t("stats.age") %> | -<%= t("stats.total") %> | -
|---|---|
| <%= group[:range] %> | -
-
- <%= "#{group[:count]} (#{number_to_stats_percentage(group[:percentage])})" %>
-
-
-
-
-
- |
-
| <%= t("stats.age") %> | +<%= t("stats.total") %> | +
|---|---|
| <%= group[:range] %> | +
+
+ <%= "#{group[:count]} (#{number_to_stats_percentage(group[:percentage])})" %>
+
+
+
+
+
+ |
+