杨树明 5 years ago
parent c35125b0a9
commit 33dfaa7088

@ -17,7 +17,7 @@
</li>
<% exercise_question.exercise_choices.reorder("choice_position").each do |exercise_choice| %>
<li class="clearfix">
<div class="pl5 width698 <%= exercise_question.exercise_standard_answers.first.exercise_choice_id.to_s.split('').include?(exercise_choice.choice_position.to_s) ? 'color-light-green' : '' %>">
<div class="width698 fl 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>
</div>
<% count = exercise_choice.exercise_answers.where(:user_id => @user_ids).count %>

Loading…
Cancel
Save