<% content_for :title, "Quiz Review - Skills Assessment Admin" %>

Quiz Review

Test ID: <%= @candidate.test_hash %>
Years of Experience: <%= @candidate.experience %>
Client/Project: <%= @candidate.project %>
Recruiter Email: <%= mail_to @candidate.recruiter.name, @candidate.recruiter.email %>
<%= render partial: 'voting' %>
<% @quiz.each do |question| %> <%= form_for(:answer, url: '#never-post', html:{id: 'summary-form'}) do |form| %>

<%= 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} %>
<% end #form_tag %> <% end #questions loop %> <%= link_to(admin_results_path, { class: 'secondary-btn' }) do %> <% end %>

Comments

<%= render partial: 'comment', collection: @comments, locals: { test_hash: @candidate.test_hash } %>
<%= render partial: 'comment_form', locals: { test_hash: @candidate.test_hash } %>