diff --git a/app/controllers/poll_controller.rb b/app/controllers/poll_controller.rb
index 8385b0fde..739adfe1c 100644
--- a/app/controllers/poll_controller.rb
+++ b/app/controllers/poll_controller.rb
@@ -12,7 +12,7 @@ class PollController < ApplicationController
else
polls = Poll.where("polls_type = 'Course' and polls_group_id = #{@course.id} and polls_status = 2")
end
- @polls = paginateHelper polls,10 #分页
+ @polls = paginateHelper polls,20 #分页
respond_to do |format|
format.html{render :layout => 'base_courses'}
end
diff --git a/app/views/poll/_poll_form.html.erb b/app/views/poll/_poll_form.html.erb
index 49e04a3ba..bbf71e0ce 100644
--- a/app/views/poll/_poll_form.html.erb
+++ b/app/views/poll/_poll_form.html.erb
@@ -59,7 +59,7 @@
{
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'poll_submit', locals: { poll: @poll}) %>');
showModal('ajax-modal', '310px');
- $('#ajax-modal').css('height','100px');
+ $('#ajax-modal').css('height','110px');
$('#ajax-modal').siblings().remove();
$('#ajax-modal').before("" +
"");
diff --git a/app/views/poll/_show_MC.html.erb b/app/views/poll/_show_MC.html.erb
index 594baea9d..ff8e52f25 100644
--- a/app/views/poll/_show_MC.html.erb
+++ b/app/views/poll/_show_MC.html.erb
@@ -4,10 +4,10 @@
第<%= poll_question.question_number%>题:
<%= poll_question.question_title %>
+ [单选题]
<%if poll_question.is_necessary == 1%>
*
<%end%>
- (单选题)
<%= link_to("", delete_poll_question_poll_index_path(:poll_question => poll_question.id),
method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "ur_icon_de") %>
diff --git a/app/views/poll/_show_MCQ.html.erb b/app/views/poll/_show_MCQ.html.erb
index 64e39523a..63b9d1c1f 100644
--- a/app/views/poll/_show_MCQ.html.erb
+++ b/app/views/poll/_show_MCQ.html.erb
@@ -4,10 +4,10 @@
第<%= poll_question.question_number%>题:
<%= poll_question.question_title %>
+ [多选题]
<%if poll_question.is_necessary == 1%>
*
<%end%>
- (多选题)
<%= link_to("", delete_poll_question_poll_index_path(:poll_question => poll_question.id),
method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "ur_icon_de") %>
diff --git a/app/views/poll/_show_mulit.html.erb b/app/views/poll/_show_mulit.html.erb
index 23bdbe6eb..2d52fffb5 100644
--- a/app/views/poll/_show_mulit.html.erb
+++ b/app/views/poll/_show_mulit.html.erb
@@ -5,10 +5,10 @@
第<%= poll_question.question_number%>题:
<%= poll_question.question_title %>
+ [多行主观]
<%if poll_question.is_necessary == 1%>
*
<%end%>
- (多行主观)
<%= link_to("", delete_poll_question_poll_index_path(:poll_question => poll_question.id),
method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "ur_icon_de") %>
diff --git a/app/views/poll/_show_single.html.erb b/app/views/poll/_show_single.html.erb
index bfea07d86..8caa7b1a5 100644
--- a/app/views/poll/_show_single.html.erb
+++ b/app/views/poll/_show_single.html.erb
@@ -4,10 +4,10 @@
第<%= poll_question.question_number%>题:
<%= poll_question.question_title %>
+ [单行主观]
<%if poll_question.is_necessary == 1%>
*
<%end%>
- (单行主观)
<%= link_to("", delete_poll_question_poll_index_path(:poll_question => poll_question.id),
method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "ur_icon_de") %>
diff --git a/app/views/poll/show.html.erb b/app/views/poll/show.html.erb
index d20f46297..08c2608d0 100644
--- a/app/views/poll/show.html.erb
+++ b/app/views/poll/show.html.erb
@@ -48,6 +48,7 @@