<%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %>
<%= observe_field :issue_tracker_id, :url => { :action => :update_form, :project_id => @project, :id => @issue }, :update => :attributes, :with => "Form.serialize('issue-form')" %><%= f.text_field :subject, :size => 80, :required => true %>
<% unless (@issue.new_record? && @issue.parent_issue_id.nil?) || !User.current.allowed_to?(:manage_subtasks, @project) %><%= f.text_field :parent_issue_id, :size => 10 %>
<%= javascript_tag "observeParentIssueField('#{url_for(:controller => :issues, :action => :auto_complete, :id => @issue, :project_id => @project) }')" %> <% end %><%= f.text_area :description, :cols => 60, :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min), :accesskey => accesskey(:edit), :class => 'wiki-edit' %>
<%= render :partial => 'attachments/form' %>
<% end %> <% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%><% @issue.project.users.sort.each do |user| -%> <% end -%>
<% end %> <%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %> <%= wikitoolbar_for 'issue_description' %>