move summary and questions to quiz controller

This commit is contained in:
Mark Moser
2016-08-07 09:36:08 -05:00
parent cc0823e6f9
commit e6358beec8
20 changed files with 194 additions and 163 deletions

View File

@ -21,7 +21,7 @@
<% end %>
<fieldset disabled class="answer-block">
<%= hidden_field_tag 'answer[question_id]', question.question_id %>
<%= render partial: "candidate/#{question.input_type}", locals: {question: question, form: form} %>
<%= render partial: "quiz/#{question.input_type}", locals: {question: question, form: form} %>
</fieldset>
</div>
</article>