From 4205cbf6de6636213662d279d6bca073864451f7 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 27 Oct 2016 15:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=A1=8C=E4=B8=BB=E8=A7=82=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/poll/_show_mulit.html.erb | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/app/views/poll/_show_mulit.html.erb b/app/views/poll/_show_mulit.html.erb index 6fefba510..2169d7d64 100644 --- a/app/views/poll/_show_mulit.html.erb +++ b/app/views/poll/_show_mulit.html.erb @@ -8,13 +8,12 @@

- - - + + <%= link_to("", delete_poll_question_poll_index_path(:poll_question => poll_question.id), method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "poll-delete", :title => "删除") %> @@ -24,12 +23,12 @@ [多行主观题] - +
<% poll_question.poll_answers.reorder("answer_position").each_with_index do |poll_answer, i| %> -
+

<%= i + 1 %>.<%= poll_answer.answer_text%>

- +
<% end %>