From b0b47b54436474645b5e02ca2c8a58b597e06cc8 Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 12 Oct 2017 15:26:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E5=8D=B7=E7=9A=84=E9=A2=98=E5=B9=B2?= =?UTF-8?q?=E6=8D=A2=E6=88=90ke?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/exercise/_edit_MC.html.erb | 5 +- app/views/exercise/_edit_MCQ.html.erb | 2 +- app/views/exercise/_edit_multi.html.erb | 4 +- app/views/exercise/_edit_single.html.erb | 2 +- app/views/exercise/_exercise_student.html.erb | 2 +- .../_exercise_student_result.html.erb | 2 +- app/views/exercise/_new_MC.html.erb | 2 +- app/views/exercise/_new_MCQ.html.erb | 6 +- app/views/exercise/_new_multi.html.erb | 6 +- app/views/exercise/_new_question.html.erb | 55 ++++++++++++++++++- app/views/exercise/_new_single.html.erb | 6 +- app/views/exercise/_show_MC.html.erb | 24 ++++++-- app/views/exercise/_show_MCQ.html.erb | 24 ++++++-- app/views/exercise/_show_multi.html.erb | 24 ++++++-- app/views/exercise/_show_single.html.erb | 24 ++++++-- public/javascripts/application.js | 9 ++- public/javascripts/edu/course.js | 4 +- 17 files changed, 153 insertions(+), 48 deletions(-) diff --git a/app/views/exercise/_edit_MC.html.erb b/app/views/exercise/_edit_MC.html.erb index 3acad269c..8358bb1d6 100644 --- a/app/views/exercise/_edit_MC.html.erb +++ b/app/views/exercise/_edit_MC.html.erb @@ -1,4 +1,3 @@ -
<%= form_for("",:url => update_exercise_question_exercise_index_path(:exercise_question => exercise_question.id),:remote => true) do |f|%>