From e6b6e91921b2be4c6e40bfe43b2c90f1a9bc91a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 22 Jun 2019 09:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A2=98=E7=9B=AE=E5=A4=9A?= =?UTF-8?q?=E8=A1=8C=E6=98=BE=E7=A4=BA=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/exercise/_exercise_student.html.erb | 12 ++++++++++-- app/views/exercise/_exercise_student_result.html.erb | 12 ++++++++++-- app/views/exercise/student_exercise_list.html.erb | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/app/views/exercise/_exercise_student.html.erb b/app/views/exercise/_exercise_student.html.erb index ec47f1c0..a63191db 100644 --- a/app/views/exercise/_exercise_student.html.erb +++ b/app/views/exercise/_exercise_student.html.erb @@ -200,7 +200,11 @@ } <%= answer_be_selected?(exercise_choice, User.current) ? "checked" : "" %>> - + <% end %> @@ -243,7 +247,11 @@ } <%= answer_be_selected?(exercise_choice, User.current) ? "checked" : "" %>> - + <% end %> diff --git a/app/views/exercise/_exercise_student_result.html.erb b/app/views/exercise/_exercise_student_result.html.erb index 6d48573f..b9f39e15 100644 --- a/app/views/exercise/_exercise_student_result.html.erb +++ b/app/views/exercise/_exercise_student_result.html.erb @@ -153,7 +153,11 @@ id="exercise_<%= exercise_choice.id %>_exercise_choice_id" type="radio" disabled <%= answer_be_selected?(exercise_choice, user) ? "checked" : "" %>> - + <% end %> @@ -168,7 +172,11 @@ <% exercise_choices.each_with_index do |exercise_choice, index| %>