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") %>