From f46301e83a9825a116b73fdc60679777069e1892 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, 29 Jun 2019 16:23:10 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/exercise/_show_MC.html.erb | 2 +- app/views/exercise/_statistics_result_table.html.erb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/exercise/_show_MC.html.erb b/app/views/exercise/_show_MC.html.erb index 64b1f128..546a7255 100644 --- a/app/views/exercise/_show_MC.html.erb +++ b/app/views/exercise/_show_MC.html.erb @@ -23,7 +23,7 @@ <% end %> diff --git a/app/views/exercise/_statistics_result_table.html.erb b/app/views/exercise/_statistics_result_table.html.erb index 964def05..bb0f25c6 100644 --- a/app/views/exercise/_statistics_result_table.html.erb +++ b/app/views/exercise/_statistics_result_table.html.erb @@ -18,7 +18,8 @@ <% exercise_question.exercise_choices.reorder("choice_position").each do |exercise_choice| %>
  • - <%= exercise_choice.choice_text %> + <%#= exercise_choice.choice_text %> +

    <%= exercise_choice.choice_text %>

    <% count = exercise_choice.exercise_answers.where(:user_id => @user_ids).count %>

    <%= count %>