|
|
|
@ -19,14 +19,9 @@
|
|
|
|
|
<% mc_count = exercise.exercise_questions.where("question_type=1").count %>
|
|
|
|
|
<% mcq_count = exercise.exercise_questions.where("question_type=2").count %>
|
|
|
|
|
<% single_count = exercise.exercise_questions.where("question_type=3").count %>
|
|
|
|
|
<p class="f14">当前测验
|
|
|
|
|
<% if question_count > 0 %>共有<%= question_count %>道题,其中<% end %>
|
|
|
|
|
<% if mc_count > 0 %><%= mc_count %>道单选、<% end %>
|
|
|
|
|
<% if mcq_count > 0 %><%= mcq_count %>道多选、<% end %>
|
|
|
|
|
<% if single_count > 0%><%= single_count %>道填空,<% end %>
|
|
|
|
|
总分为<span class="c_red"><%=current_score %></span>分。
|
|
|
|
|
<p class="f14">当前测验<%if question_count >0%>共有<%= question_count %>道题,其中<%end%><%if mc_count > 0%><%=mc_count %>道单选、<%end%><%if mcq_count > 0%><%=mcq_count %>道多选、<%end%><%if single_count > 0%><%=single_count %>道填空,<%end%>总分为<span class="c_red"><%=current_score %></span>分。
|
|
|
|
|
<br /><br />
|
|
|
|
|
是否确定提交该测验?
|
|
|
|
|
<% if exercise.publish_time.nil? %>点击提交后测验将立即发布,<% end %>是否确定提交该测验?
|
|
|
|
|
</p>
|
|
|
|
|
<div class="polls_btn_box">
|
|
|
|
|
<a class="upload_btn" onclick="exercise_submit();">
|
|
|
|
|