diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-22 12:24:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-22 12:24:43 +0000 |
commit | ad246e81ad522362916f9a37cc8cdb96d2a325eb (patch) | |
tree | b81a72c7d5f8ed8b51c2bfaca4aae38b9b9dbb48 /app/views/timelog | |
parent | a4f989a5e098a4b48659c5f436c327eca0220219 (diff) | |
download | redmine-ad246e81ad522362916f9a37cc8cdb96d2a325eb.tar.gz redmine-ad246e81ad522362916f9a37cc8cdb96d2a325eb.zip |
Code cleanup, use named routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11071 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/bulk_edit.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/bulk_edit.html.erb b/app/views/timelog/bulk_edit.html.erb index ac3511a77..60836e118 100644 --- a/app/views/timelog/bulk_edit.html.erb +++ b/app/views/timelog/bulk_edit.html.erb @@ -1,13 +1,13 @@ <h2><%= l(:label_bulk_edit_selected_time_entries) %></h2> -<ul> +<ul id="bulk-selection"> <% @time_entries.each do |entry| %> <%= content_tag 'li', link_to("#{format_date(entry.spent_on)} - #{entry.project}: #{l(:label_f_hour_plural, :value => entry.hours)}", edit_time_entry_path(entry)) %> <% end %> </ul> -<%= form_tag(:action => 'bulk_update') do %> +<%= form_tag(bulk_update_time_entries_path, :id => 'bulk_edit_form') do %> <%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join.html_safe %> <div class="box tabular"> <div> |