skill-assessment-app/app/views/admin/quiz/view.html.erb

13 lines
445 B
Plaintext
Raw Normal View History

2016-08-18 18:22:57 -05:00
<%
content_for :section_title, "#{@quiz.name}"
2016-11-22 16:59:54 -06:00
content_for :title, "Quiz - Skills Assessment Admin"
2016-08-18 18:22:57 -05:00
%>
2016-08-18 15:35:17 -05:00
2017-03-20 10:57:50 -05:00
<div><%= @quiz.name %></div>
<div><%= @quiz.dept %></div>
<div><%= @quiz.unit %></div>
<%= link_to('Edit', admin_edit_quiz_path(@quiz.to_i), { class: "" }) %>
2016-08-19 16:02:18 -05:00
2016-08-24 12:17:00 -05:00
<%= render partial: 'admin/question/table_list', locals: { questions: @quiz.questions, disable: true } %>
2017-03-20 10:57:50 -05:00
<%= link_to('New Question', admin_new_question_path, { class: "" }) %>