点击打开测验作品列表中某作品,在作品详情页面增加返回统计列表的快捷操作

This commit is contained in:
cxt 2016-06-14 14:08:54 +08:00
parent 6100abe0da
commit e7499c95c5
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@
<div class="testDesEdit mt5"><%= exercise.exercise_description.nil? ? "" : exercise.exercise_description.html_safe%></div>
<div class="cl"></div>
</div>
<div class="mb5">得分:<span class="c_red"><%=exercise_user.score %>分</span></div>
<div>
<div class="fl mb5">得分:<span class="c_red"><%=exercise_user.score %>分</span></div>
<%= link_to '返回统计列表>>',student_exercise_list_exercise_path(exercise.id,:course_id => exercise.course.id) , :class => "fr linkBlue" %>
</div>
<div class="cl"></div>
<% mc_question_list = exercise.exercise_questions.where("question_type=1") %>
<% mcq_question_list = exercise.exercise_questions.where("question_type=2") %>
<% single_question_list = exercise.exercise_questions.where("question_type=3") %>