summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-17 09:21:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-17 09:21:37 +0000
commitb86ca61b4992da48c9135b178d4cbd5987d93d96 (patch)
tree06237ac15c471456c69c397718c69d1d167c4771 /app/views
parentf443c01ba52850d5b23b77e480dd010b47a70aaf (diff)
downloadredmine-b86ca61b4992da48c9135b178d4cbd5987d93d96.tar.gz
redmine-b86ca61b4992da48c9135b178d4cbd5987d93d96.zip
Invalid HTML generated with ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8251 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/timelog/bulk_edit.html.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/timelog/bulk_edit.html.erb b/app/views/timelog/bulk_edit.html.erb
index 40a34cc28..80e626ae9 100644
--- a/app/views/timelog/bulk_edit.html.erb
+++ b/app/views/timelog/bulk_edit.html.erb
@@ -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 %>