|
|
@ -153,7 +153,11 @@
|
|
|
|
id="exercise_<%= exercise_choice.id %>_exercise_choice_id" type="radio" disabled
|
|
|
|
id="exercise_<%= exercise_choice.id %>_exercise_choice_id" type="radio" disabled
|
|
|
|
<%= answer_be_selected?(exercise_choice, user) ? "checked" : "" %>>
|
|
|
|
<%= answer_be_selected?(exercise_choice, user) ? "checked" : "" %>>
|
|
|
|
|
|
|
|
|
|
|
|
<label class="fl color-grey3" for="exercise_<%= exercise_choice.id %>_exercise_choice_id"><%= convert_to_char((index + 1).to_s) %> <%= exercise_choice.choice_text %></label>
|
|
|
|
<label class="fl color-grey3" for="exercise_<%= exercise_choice.id %>_exercise_choice_id">
|
|
|
|
|
|
|
|
<div class="fl">
|
|
|
|
|
|
|
|
<%= convert_to_char((index + 1).to_s) %>
|
|
|
|
|
|
|
|
</div><pre class="fl ml10"><%= exercise_choice.choice_text %></pre>
|
|
|
|
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -168,7 +172,11 @@
|
|
|
|
<% exercise_choices.each_with_index do |exercise_choice, index| %>
|
|
|
|
<% exercise_choices.each_with_index do |exercise_choice, index| %>
|
|
|
|
<li class="clearfix">
|
|
|
|
<li class="clearfix">
|
|
|
|
<input name="exercise_choice_<%= exercise_question.id %>" class="magic-checkbox fl mt5 magic-checkbox_show" id="exercise_<%= exercise_choice.id %>_exercise_choice_id" type="checkbox" disabled <%= answer_be_selected?(exercise_choice, user) ? "checked" : "" %>>
|
|
|
|
<input name="exercise_choice_<%= exercise_question.id %>" class="magic-checkbox fl mt5 magic-checkbox_show" id="exercise_<%= exercise_choice.id %>_exercise_choice_id" type="checkbox" disabled <%= answer_be_selected?(exercise_choice, user) ? "checked" : "" %>>
|
|
|
|
<label class="fl color-grey3" for="exercise_<%= exercise_choice.id %>_exercise_choice_id"><%= convert_to_char((index + 1).to_s) %> <%= exercise_choice.choice_text %></label>
|
|
|
|
<label class="fl color-grey3" for="exercise_<%= exercise_choice.id %>_exercise_choice_id">
|
|
|
|
|
|
|
|
<div class="fl">
|
|
|
|
|
|
|
|
<%= convert_to_char((index + 1).to_s) %>
|
|
|
|
|
|
|
|
</div><pre class="fl ml10"><%= exercise_choice.choice_text %></pre>
|
|
|
|
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|