%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %>
<% end %>
<%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %>
<%= observe_field :issue_tracker_id, :url => { :action => :new, :project_id => @project, :id => @issue }, :update => :attributes, :with => "Form.serialize('issue-form')" %><%= f.text_field :subject, :size => 80, :required => true %>
<%= 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' %>
<%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= 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' %>