+<% end %>
\ No newline at end of file
diff --git a/app/views/exercise/_show_MC.html.erb b/app/views/exercise/_show_MC.html.erb
index 09575ab00..e7bf20206 100644
--- a/app/views/exercise/_show_MC.html.erb
+++ b/app/views/exercise/_show_MC.html.erb
@@ -4,7 +4,7 @@
(<%= convert_to_char(exercise_question.exercise_standard_answers.first.exercise_choice_id.to_s) %>)
+ <% exercise_question.exercise_choices.reorder("choice_position").each_with_index do |exercise_choice,index| %>
+ 候选答案:<%= exercise_choice.choice_text%>
+ <% end %>
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/exercise/create_exercise_question.js.erb b/app/views/exercise/create_exercise_question.js.erb
index 42077931c..224dc0a95 100644
--- a/app/views/exercise/create_exercise_question.js.erb
+++ b/app/views/exercise/create_exercise_question.js.erb
@@ -23,4 +23,5 @@ $("#poll_content").append("
" +
"
" +
"");
+$("#current_score").html("<%=get_current_score @exercise %>分");
<% end %>
diff --git a/app/views/exercise/delete_exercise_question.js.erb b/app/views/exercise/delete_exercise_question.js.erb
new file mode 100644
index 000000000..eb6300eb5
--- /dev/null
+++ b/app/views/exercise/delete_exercise_question.js.erb
@@ -0,0 +1 @@
+$("#poll_content").html("<%= escape_javascript(render :partial => 'exercise_content', :locals => {:exercise => @exercise}) %>");
\ No newline at end of file
diff --git a/app/views/exercise/update_exercise_question.js.erb b/app/views/exercise/update_exercise_question.js.erb
new file mode 100644
index 000000000..e69de29bb
diff --git a/config/routes.rb b/config/routes.rb
index b1e4725e6..8dba79d2c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -156,6 +156,7 @@ RedmineApp::Application.routes.draw do
end
collection do #生成路径为 /exercise/方法名
+ delete 'delete_exercise_question'
end
end