<%= 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.actions.actions") %>
<%= 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 %>
<%= paginate @questions %> <% end %>