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
This commit is contained in:
Toshi MARUYAMA 2011-12-22 06:51:42 +00:00
parent fddfd4b413
commit 28d2896f90
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<h2><%= l(:label_confirmation) %></h2> <h2><%= l(:label_confirmation) %></h2>
<% form_tag do %> <% 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 %>
<div class="box"> <div class="box">
<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p> <p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
<p> <p>