杨树明 5 years ago
parent 704d36b870
commit 35b4b81927

@ -17,9 +17,9 @@
</li> </li>
<% exercise_question.exercise_choices.reorder("choice_position").each do |exercise_choice| %> <% exercise_question.exercise_choices.reorder("choice_position").each do |exercise_choice| %>
<li class="clearfix"> <li class="clearfix">
<p class="pl5 <%= exercise_question.exercise_standard_answers.first.exercise_choice_id.to_s.split('').include?(exercise_choice.choice_position.to_s) ? 'color-light-green' : '' %>"> <div class="pl5 <%= exercise_question.exercise_standard_answers.first.exercise_choice_id.to_s.split('').include?(exercise_choice.choice_position.to_s) ? 'color-light-green' : '' %>">
<xmp class="ml10 xmplist"><%= exercise_choice.choice_text %></xmp> <xmp class="ml10 xmplist"><%= exercise_choice.choice_text %></xmp>
</p> </div>
<% count = exercise_choice.exercise_answers.where(:user_id => @user_ids).count %> <% count = exercise_choice.exercise_answers.where(:user_id => @user_ids).count %>
<p class="color-dark-grey"><%= count %></p> <p class="color-dark-grey"><%= count %></p>
<div class="panel-slider-bg mt13 fl"> <div class="panel-slider-bg mt13 fl">

Loading…
Cancel
Save