答案抄袭的调整

dev_bj
cxt 6 years ago
parent 9a20426e6a
commit bb19710158

@ -295,7 +295,7 @@
<a href="javascript:void(0)" onclick="toggle_comment_block(<%= exercise_question.id %>, <%= exercise_shixun_answer.id %>)" data-remote="true" class="mr15 color-blue">调分</a> <a href="javascript:void(0)" onclick="toggle_comment_block(<%= exercise_question.id %>, <%= exercise_shixun_answer.id %>)" data-remote="true" class="mr15 color-blue">调分</a>
<% end %> <% end %>
<% if game.present? && game.status == 2 && !is_answer_correct && game.answer_open %> <% if game.present? && game.status == 2 && @exercise_user.end_at && game.end_time < @exercise_user.end_at && !is_answer_correct && game.answer_open %>
<span class="color-red mr5">(答案抄袭)</span> <span class="color-red mr5">(答案抄袭)</span>
<% end %> <% end %>
<% score = exercise_shixun_answer.present? ? exercise_shixun_answer.try(:score) : 0 %> <% score = exercise_shixun_answer.present? ? exercise_shixun_answer.try(:score) : 0 %>

Loading…
Cancel
Save