<%= render "filter" %>
<% if @questions.count == 0 %>
<%= t("admin.questions.index.no_questions") %>
<% else %> <% @questions.each do |question| %> <% end %>
<%= t("admin.questions.index.table_question") %> <%= t("admin.questions.index.table_poll") %> <%= t("admin.actions.actions") %>
<%= link_to question.title, admin_question_path(question) %> <% if question.poll.present? %> <%= question.poll.name %> <% else %> <%= t("admin.questions.index.poll_not_assigned") %> <% end %>
<%= link_to t("shared.edit"), edit_admin_question_path(question), class: "button hollow expanded" %>
<%= link_to t("shared.delete"), admin_question_path(question), class: "button hollow alert expanded", method: :delete %>
<%= paginate @questions %> <% end %>