<%= l(:label_bulk_edit_selected_time_entries) %>

<%= form_tag(:action => 'bulk_update') do %> <%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join.html_safe %>

<%= text_field :time_entry, :issue_id, :size => 6 %>

<%= text_field :time_entry, :spent_on, :size => 10 %><%= calendar_for('time_entry_spent_on') %>

<%= text_field :time_entry, :hours, :size => 6 %>

<% if @available_activities.any? %>

<%= select_tag('time_entry[activity_id]', content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(@available_activities, :id, :name)) %>

<% end %>

<%= text_field(:time_entry, :comments, :size => 100) %>

<% @custom_fields.each do |custom_field| %>

<%= custom_field_tag_for_bulk_edit('time_entry', custom_field, @projects) %>

<% end %> <%= call_hook(:view_time_entries_bulk_edit_details_bottom, { :time_entries => @time_entries }) %>

<%= submit_tag l(:button_submit) %>

<% end %>