<%= link_to "AƱadir pregunta", new_admin_question_path(poll_id: @poll.id), class: "button success" %>
<% if @poll.questions.count == 0 %>
<%= t('admin.questions.index.no_questions') %>
<% else %> <% @poll.questions.each do |question| %> <% end %>
<%= link_to question.title, admin_question_path(question) %> <%= link_to t('shared.edit'), edit_admin_question_path(question), class: "button hollow" %> <%= link_to t('shared.delete'), admin_question_path(question), class: "button hollow alert", method: :delete %>
<% end %>