杨树明 5 years ago
parent 33dfaa7088
commit 4e70f7f13a

@ -18,7 +18,7 @@
<% exercise_question.exercise_choices.reorder("choice_position").each do |exercise_choice| %>
<li class="clearfix">
<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>
<xmp class="xmplist"><%= exercise_choice.choice_text %></xmp>
</div>
<% count = exercise_choice.exercise_answers.where(:user_id => @user_ids).count %>
<p class="color-dark-grey"><%= count %></p>

Loading…
Cancel
Save