]> source.dussan.org Git - redmine.git/commitdiff
Rails3: view: html_safe for timelog/bulk_edit.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 21 Dec 2011 13:42:19 +0000 (13:42 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 21 Dec 2011 13:42:19 +0000 (13:42 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8308 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/timelog/bulk_edit.html.erb

index 80e626ae96a3dc65698daf03462d43fa9dfd8ea7..de1f9a365537a2c2f213a826f105b55f6c514252 100644 (file)
@@ -2,12 +2,13 @@
 
 <ul>
 <%= @time_entries.collect {|i| content_tag('li', 
-    link_to(h("#{i.spent_on.strftime("%Y-%m-%d")} - #{i.project}:  #{l(:label_f_hour_plural, :value => i.hours)}"), { :action => 'edit', :id => i })
-  )}.join("\n") %>
+        link_to(h("#{i.spent_on.strftime("%Y-%m-%d")} - #{i.project}:  #{l(:label_f_hour_plural, :value => i.hours)}"),
+                { :action => 'edit', :id => i })
+     )}.join("\n").html_safe %>
 </ul>
 
 <% form_tag(:action => 'bulk_update') do %>
-<%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>
+<%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join.html_safe %>
 <div class="box tabular">
   <div>
     <p>