removes reasons for not answering on poll index

This commit is contained in:
Alberto Garcia Cabeza
2017-01-30 20:56:07 +01:00
parent 600158a772
commit 20a86063b7

View File

@@ -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 %>
</div>
</div>