diff --git a/app/views/exercise/_edit_MC.html.erb b/app/views/exercise/_edit_MC.html.erb index adc955dee..f4ececf8f 100644 --- a/app/views/exercise/_edit_MC.html.erb +++ b/app/views/exercise/_edit_MC.html.erb @@ -8,7 +8,6 @@ $("#poll_question_standard_answer_<%=exercise_question.id %>").val("<%= convert_to_char(exercise_question.exercise_standard_answers.first.exercise_choice_id.to_s)%>") $("#poll_answers_<%=exercise_question.id%>").html("<% exercise_question.exercise_choices.reorder("choice_position").each_with_index do |exercise_choice,index| %>" + "
  • " + - ""+ "" + "" + "" + @@ -30,14 +29,12 @@
  • 分 - 标准答案:请点击正确选项前面单选按钮
  • <% exercise_question.exercise_choices.reorder("choice_position").each_with_index do |exercise_choice,index| %>
  • - @@ -45,6 +42,10 @@
    <% end %>
  • +
  • + + +
  • diff --git a/app/views/exercise/_edit_MCQ.html.erb b/app/views/exercise/_edit_MCQ.html.erb index 2b900d648..18ae79d1c 100644 --- a/app/views/exercise/_edit_MCQ.html.erb +++ b/app/views/exercise/_edit_MCQ.html.erb @@ -1,63 +1,63 @@ -<%= form_for("",: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|%> + + + +
    +
    + + + +
    +
    + +
    + +
    +
    + <% end%> \ No newline at end of file diff --git a/app/views/exercise/_exercise_form.html.erb b/app/views/exercise/_exercise_form.html.erb index f73c15eca..8de4dac38 100644 --- a/app/views/exercise/_exercise_form.html.erb +++ b/app/views/exercise/_exercise_form.html.erb @@ -1,219 +1,219 @@ -<%= stylesheet_link_tag 'polls', :media => 'all' %> - -
    -
    - - -
    - <%= render :partial => 'edit_head', :locals => {:exercise => @exercise} %> -
    - <% current_score = get_current_score @exercise %> -
    " id="current_score_div">目前试卷总分:<%= current_score %> - 分
    - -
    - <%= render :partial => 'exercise_content', :locals => {:exercise => @exercise} %> -
    - -
    - <%= render :partial => 'new_question', :locals => {:exercise => @exercise} %> -
    - - - -
    -
    - -
    - <%= render :partial => 'exercise_submit', :locals => {:exercise => @exercise} %> -
    -
    - -
    -
    +<%= stylesheet_link_tag 'polls', :media => 'all' %> + +
    +
    + + +
    + <%= render :partial => 'edit_head', :locals => {:exercise => @exercise} %> +
    + <% current_score = get_current_score @exercise %> +
    " id="current_score_div">目前试卷总分:<%= current_score %> + 分
    + +
    + <%= render :partial => 'exercise_content', :locals => {:exercise => @exercise} %> +
    + +
    + <%= render :partial => 'new_question', :locals => {:exercise => @exercise} %> +
    + + + +
    +
    + +
    + <%= render :partial => 'exercise_submit', :locals => {:exercise => @exercise} %> +
    +
    + +
    +
    diff --git a/app/views/exercise/_new_MC.html.erb b/app/views/exercise/_new_MC.html.erb index c0a53b2e9..0d7350570 100644 --- a/app/views/exercise/_new_MC.html.erb +++ b/app/views/exercise/_new_MC.html.erb @@ -14,13 +14,11 @@ <% score = exercise.exercise_questions.where("question_type=1").last.nil? ? "": exercise.exercise_questions.where("question_type=1").last.question_score %> 分 - 标准答案:请选择
  • - @@ -28,7 +26,6 @@
  • - @@ -36,7 +33,6 @@
  • - @@ -44,13 +40,17 @@
  • -
  • +
  • + + +
  • +
    <%= link_to("", delete_exercise_question_exercise_index_path(:exercise_question => exercise_question.id, :quest_num => exercise_question.question_number), - - method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "ur_icon_de",:title => "删除") %> + method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "ur_icon_de") %>
    @@ -54,11 +53,9 @@ '
  • '+ ''+ '分'+ - '标准答案:请选择'+ '
  • '+ '
  • '+ ''+ - ''+ ''+ ''+ ''+ @@ -66,7 +63,6 @@ '
    '+ '
  • '+ ''+ - ''+ ''+ ''+ ''+ @@ -74,7 +70,6 @@ '
    '+ '
  • '+ ''+ - ''+ ''+ ''+ ''+ @@ -82,12 +77,16 @@ '
    '+ '
  • '+ ''+ - ''+ ''+ ''+ ''+ '
  • '+ '
    '+ + '
  • '+ + ''+ + ''+ + '
  • '+ + '
    '+ ''+ ''+ '