Rails3: view: html_safe for issues/bulk_edit.html.erb

Contributed by Eric Cline.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8447 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-01-01 04:45:49 +00:00
parent 25ead5fd42
commit 0fe8a4248d
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
<h2><%= l(:label_bulk_edit_selected_issues) %></h2>
<ul><%= @issues.collect {|i| content_tag('li', link_to(h("#{i.tracker} ##{i.id}"), { :action => 'show', :id => i }) + h(": #{i.subject}")) }.join("\n") %></ul>
<ul><%= @issues.collect {|i|
content_tag('li',
link_to(h("#{i.tracker} ##{i.id}"),
{ :action => 'show', :id => i }
) + h(": #{i.subject}"))
}.join("\n").html_safe %></ul>
<% form_tag(:action => 'bulk_update') do %>
<%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>
<%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join("\n").html_safe %>
<div class="box tabular">
<fieldset class="attributes">
<legend><%= l(:label_change_properties) %></legend>