杨树明 5 years ago
parent f46301e83a
commit 704d36b870

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

Loading…
Cancel
Save