调整题目多行显示

dev_bj
杨树明 5 years ago
parent a61e96c658
commit f46301e83a

@ -23,7 +23,7 @@
<label class="fl color-grey3" for="sx_<%= exercise_choice.id %>">
<div class="fl">
<%= convert_to_char((index+1).to_s)%>
</div><xmp class="fl ml10"><%= exercise_choice.choice_text%></xmp>
</div><xmp class="fl ml10 xmplist"><%= exercise_choice.choice_text%></xmp>
</label>
</li>
<% end %>

@ -18,7 +18,8 @@
<% 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 %>
<%#= exercise_choice.choice_text %>
<xmp class="fl 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