]> source.dussan.org Git - redmine.git/commitdiff
Invalid HTML generated with ruby1.9.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Dec 2011 09:21:37 +0000 (09:21 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Dec 2011 09:21:37 +0000 (09:21 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8251 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/timelog/bulk_edit.html.erb

index 40a34cc286655ee6c3b829642c13156527b01300..80e626ae96a3dc65698daf03462d43fa9dfd8ea7 100644 (file)
@@ -1,6 +1,10 @@
 <h2><%= l(:label_bulk_edit_selected_time_entries) %></h2>
 
-<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 }))} %></ul>
+<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") %>
+</ul>
 
 <% form_tag(:action => 'bulk_update') do %>
 <%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>