From 5e5c18725ddbc252b0fe263a72cb3bd5e9c9c7af Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 19 Nov 2015 14:35:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=9C=A8=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E9=A2=98=E7=9B=AE=E6=97=B6=E5=BF=85=E9=A1=BB=E5=85=88=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=85=B6=E4=BB=96=E6=AD=A3=E5=9C=A8=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=9A=84=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/exercise/_edit_MC.html.erb | 2 +- app/views/exercise/_edit_MCQ.html.erb | 2 +- app/views/exercise/_edit_head.html.erb | 2 +- app/views/exercise/_exercise_form.html.erb | 14 ++- app/views/exercise/_new_MC.html.erb | 1 - app/views/exercise/_new_MCQ.html.erb | 1 - app/views/exercise/_new_question.html.erb | 27 +++- app/views/exercise/_new_single.html.erb | 1 - app/views/exercise/_show_MC.html.erb | 137 +++++++++++---------- app/views/exercise/_show_MCQ.html.erb | 137 +++++++++++---------- app/views/exercise/_show_single.html.erb | 111 +++++++++-------- 11 files changed, 234 insertions(+), 201 deletions(-) diff --git a/app/views/exercise/_edit_MC.html.erb b/app/views/exercise/_edit_MC.html.erb index ef46e47a8..9c6f3c396 100644 --- a/app/views/exercise/_edit_MC.html.erb +++ b/app/views/exercise/_edit_MC.html.erb @@ -1,4 +1,4 @@ -<%= form_for("",:class => 'new_or_edit_question',:url => update_exercise_question_exercise_index_path(:exercise_question => exercise_question.id),:remote => true) do |f|%> +<%= form_for("",:url => update_exercise_question_exercise_index_path(:exercise_question => exercise_question.id),:remote => true) do |f|%> \ No newline at end of file diff --git a/app/views/exercise/_new_single.html.erb b/app/views/exercise/_new_single.html.erb index 06b8939c3..ad5af1937 100644 --- a/app/views/exercise/_new_single.html.erb +++ b/app/views/exercise/_new_single.html.erb @@ -1,6 +1,5 @@ <%= form_for(ExerciseQuestion.new, :html => { :multipart => true }, - :class => 'new_or_edit_question', :url => {:controller => 'exercise', :action => 'create_exercise_question', :course_id => @course.id diff --git a/app/views/exercise/_show_MC.html.erb b/app/views/exercise/_show_MC.html.erb index 1c90f6908..21d6ef4bb 100644 --- a/app/views/exercise/_show_MC.html.erb +++ b/app/views/exercise/_show_MC.html.erb @@ -32,75 +32,80 @@ \ No newline at end of file diff --git a/app/views/exercise/_show_MCQ.html.erb b/app/views/exercise/_show_MCQ.html.erb index 08a012fd3..a6ffbeb82 100644 --- a/app/views/exercise/_show_MCQ.html.erb +++ b/app/views/exercise/_show_MCQ.html.erb @@ -31,74 +31,79 @@ \ No newline at end of file diff --git a/app/views/exercise/_show_single.html.erb b/app/views/exercise/_show_single.html.erb index 8232e68f3..4e36530ed 100644 --- a/app/views/exercise/_show_single.html.erb +++ b/app/views/exercise/_show_single.html.erb @@ -19,62 +19,67 @@ \ No newline at end of file