Add more options for surveys

* Survey period constraints
* Add abilities
* Enforce required questions
* Update survey_submssion updated_at
* Do a full match of possible answer and user reply
This commit is contained in:
Stella Rouzi 2018-02-09 19:07:10 +02:00
parent c278e547ce
commit 683f62a27c
36 changed files with 219 additions and 74 deletions

View file

@ -14,6 +14,8 @@
%table.table.table-hover.datatable#surveys
%thead
%th Title
%th # of questions
%th # of submissions
%th When
%th Start Date
%th End Date
@ -23,6 +25,10 @@
%tr
%td
= link_to survey.title, admin_conference_survey_path(@conference.short_title, survey)
%td
= survey.survey_questions.length
%td
= survey.survey_submissions.length
%td
= survey.target
%td