skill-assessment-app/app/views/admin/quiz/view.html.erb
2017-06-05 11:30:34 -05:00

13 lines
445 B
Plaintext

<%
content_for :section_title, "#{@quiz.name}"
content_for :title, "Quiz - Skills Assessment Admin"
%>
<div><%= @quiz.name %></div>
<div><%= @quiz.dept %></div>
<div><%= @quiz.unit %></div>
<%= link_to('Edit', admin_edit_quiz_path(@quiz.to_i), { class: "" }) %>
<%= render partial: 'admin/question/table_list', locals: { questions: @quiz.questions, disable: true } %>
<%= link_to('New Question', admin_new_question_path, { class: "" }) %>