adds search and filter for poll questions

This commit is contained in:
rgarcia
2016-11-29 11:44:51 +01:00
parent 66f4289e9c
commit 20cb044015
10 changed files with 93 additions and 6 deletions

View File

@@ -3,6 +3,9 @@
<%= link_to t('admin.questions.index.create'), new_admin_question_path,
class: "button success float-right" %>
<%= render 'filter' %>
<%= render 'search' %>
<% if @questions.count == 0 %>
<div class="callout primary">
<%= t('admin.questions.index.no_questions') %>