From 28d2896f90888b5f0f24bd5b9f1ce8c8b5dbc2aa Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 22 Dec 2011 06:51:42 +0000 Subject: [PATCH] Rails3: view: html_safe for issues/destroy.html.erb Contributed by Eric Cline. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8312 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/destroy.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/destroy.html.erb b/app/views/issues/destroy.html.erb index 7f2f45562..7b9d7a9ca 100644 --- a/app/views/issues/destroy.html.erb +++ b/app/views/issues/destroy.html.erb @@ -1,7 +1,7 @@

<%= l(:label_confirmation) %>

<% form_tag do %> -<%= @issues.collect {|i| hidden_field_tag 'ids[]', i.id } %> +<%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join("\n").html_safe %>

<%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %>