|
|
|
@ -44,7 +44,6 @@
|
|
|
|
|
<span class="mr15">实训题<span class="mlr5"><%= @exercise_ques_shixun_count %></span>题,
|
|
|
|
|
共<span class="mlr5"><%= @exercise_ques_shixun_scores %></span>分</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% if @exercise_ques_count > 0 %>
|
|
|
|
|
<span class="pull-right">
|
|
|
|
|
共<span class="text-orange mlr5"><%= @exercise_ques_scores %></span>分
|
|
|
|
@ -59,7 +58,7 @@
|
|
|
|
|
<div class="mbt10">
|
|
|
|
|
<% @exercise_questions.each do |q| %>
|
|
|
|
|
<div class="bdc">
|
|
|
|
|
<div class="pbt10">
|
|
|
|
|
<div class="pbt5">
|
|
|
|
|
<div class="pbt5">
|
|
|
|
|
<span class="mr5 text-blue"><%= q.question_number %>、</span>
|
|
|
|
|
<span class="text-blue">
|
|
|
|
@ -80,15 +79,15 @@
|
|
|
|
|
<div class="pbt5">
|
|
|
|
|
<% if q.question_type == 0 %>
|
|
|
|
|
<% q.exercise_choices.each do |s| %>
|
|
|
|
|
<div class="pbt5 clearfix">
|
|
|
|
|
<span class="choose-radio pull-left"></span>
|
|
|
|
|
<div class="pbt5 clearfix v-middle">
|
|
|
|
|
<span class="choose-radio pull-left line-20"></span>
|
|
|
|
|
<span class="inline-block pull-left line-20"><%= to_markdown(s.choice_text) %></span>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% elsif q.question_type == 1 %>
|
|
|
|
|
<% q.exercise_choices.each do |s| %>
|
|
|
|
|
<div class="pbt5 clearfix">
|
|
|
|
|
<span class="choose-checkbox pull-left"></span>
|
|
|
|
|
<div class="pbt5 clearfix v-middle">
|
|
|
|
|
<span class="choose-checkbox pull-left line-20"></span>
|
|
|
|
|
<span class="inline-block pull-left line-20"><%= to_markdown(s.choice_text) %></span>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
@ -96,8 +95,8 @@
|
|
|
|
|
<div class="pbt5 clearfix">
|
|
|
|
|
<% q.exercise_choices.each do |s| %>
|
|
|
|
|
<span class="mr15 clearfix">
|
|
|
|
|
<span class="choose-radio pull-left"></span>
|
|
|
|
|
<span class="mlr5 inline-block pull-left line-20"><%= to_markdown(s.choice_text) %></span>
|
|
|
|
|
<span class="choose-radio "></span>
|
|
|
|
|
<span class="mlr5 inline-block"><%= s.choice_text %></span>
|
|
|
|
|
</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|