<%= l(:text_destroy_time_entries_question, :hours => format_hours(@hours)) %>
<% unless Setting.timelog_required_fields.include?('issue_id') %>
<% end %>
<% if @project %>
<%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("#todo_reassign").attr("checked", true);' %>
<%= javascript_tag "observeAutocompleteField('reassign_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project)}')" %>
<% end %>