From 6214bd487435e0e80339cb4d6835c4846733dfa5 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Tue, 31 Jan 2017 18:55:30 +0100 Subject: [PATCH] changes layout on polls index --- app/views/polls/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/polls/index.html.erb b/app/views/polls/index.html.erb index d3c7a8031..0d278a8ba 100644 --- a/app/views/polls/index.html.erb +++ b/app/views/polls/index.html.erb @@ -18,7 +18,7 @@ <% @polls.each do |poll| %>
-
+

<%= link_to poll.name, poll %>

<%= poll_dates(poll) %>

    @@ -27,7 +27,7 @@ <% end %>
-
+
<% if can? :answer, poll %> <%= link_to t("polls.index.participate_button"), poll, class: "button" %> <% else %>