@@ -1,6 +1,10 | |||||
1 | <h2><%= l(:label_bulk_edit_selected_time_entries) %></h2> |
|
1 | <h2><%= l(:label_bulk_edit_selected_time_entries) %></h2> | |
2 |
|
2 | |||
3 | <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> |
|
3 | <ul> | |
|
4 | <%= @time_entries.collect {|i| content_tag('li', | |||
|
5 | link_to(h("#{i.spent_on.strftime("%Y-%m-%d")} - #{i.project}: #{l(:label_f_hour_plural, :value => i.hours)}"), { :action => 'edit', :id => i }) | |||
|
6 | )}.join("\n") %> | |||
|
7 | </ul> | |||
4 |
|
8 | |||
5 | <% form_tag(:action => 'bulk_update') do %> |
|
9 | <% form_tag(:action => 'bulk_update') do %> | |
6 | <%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> |
|
10 | <%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> |
General Comments 0
You need to be logged in to leave comments.
Login now