From 80486b819396ca1c3ecbf7157613f43f003b1c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 13 Dec 2018 19:27:47 +0100 Subject: [PATCH] Use section tags in stats This way we can easily see the h3 tag's parent is the h2 tag. --- app/views/polls/stats.html.erb | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/app/views/polls/stats.html.erb b/app/views/polls/stats.html.erb index d718f2c1b..e7513e3b6 100644 --- a/app/views/polls/stats.html.erb +++ b/app/views/polls/stats.html.erb @@ -20,13 +20,18 @@
-

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

-

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

+
+

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

-

- <%= t("polls.show.stats.total_votes") %>
- <%= @stats[:total_participants] %> -

+
+

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

+ +

+ <%= t("polls.show.stats.total_votes") %>
+ <%= @stats[:total_participants] %> +

+
+