<%= question.question %> <% if question.attachment.present? %> <%= image_tag question.attachment %> <% end %> <%= render partial: "quiz/#{question.input_type}", locals: {question: question, answer: question.answer, form: form} %>
Voting
Comments
<% if policy(QuizComment).new? %> <%= render partial: 'comment_form', locals: {comment: @comment, test_hash: @candidate.test_hash } %> <% end %> <%= render partial: 'comment', collection: @comments, locals: { test_hash: @candidate.test_hash } %> Back to top