<%= 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]', "" + 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 }) %>