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

13 lines
439 B
Plaintext
Raw Permalink 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
2016-08-24 12:17:00 -05:00
<p><%= @quiz.name %></p>
<p><%= @quiz.dept %></p>
<p><%= @quiz.unit %></p>
<%= link_to('Edit', admin_edit_quiz_path(@quiz.to_i), { class: 'btn' }) %>
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 } %>
<%= link_to('New Question', admin_new_question_path, { class: 'btn' }) %>