From 20a86063b744bb4899d8783547232e3c663acca0 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Mon, 30 Jan 2017 20:56:07 +0100 Subject: [PATCH] removes reasons for not answering on poll index --- app/views/polls/index.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/polls/index.html.erb b/app/views/polls/index.html.erb index e23fc81ee..85b2040b6 100644 --- a/app/views/polls/index.html.erb +++ b/app/views/polls/index.html.erb @@ -31,8 +31,7 @@ <% if can? :answer, poll %> <%= link_to t("polls.index.participate_button"), poll, class: "button" %> <% else %> - <%= render 'polls/reasons_for_not_answering', poll: poll %> - <%= link_to t("polls.index.view_button"), poll, class: "button info small" %> + <%= link_to t("polls.index.view_button"), poll %> <% end %>