ProjectsController#add_issue moved to IssuesController#new.
Tracker can now be changed/selected on the new issue form. This action can be invoked without the tracker_id parameter (the first enabled tracker will be used by default). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1080 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
<%= error_messages_for 'issue' %>
|
||||
<div class="box">
|
||||
|
||||
<% if @issue.new_record? %>
|
||||
<p><%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %></p>
|
||||
<%= observe_field :issue_tracker_id, :url => { :action => :new },
|
||||
:update => :content,
|
||||
:with => "Form.serialize('issue-form')" %>
|
||||
<% end %>
|
||||
|
||||
<div class="splitcontentleft">
|
||||
<% if @issue.new_record? %>
|
||||
<p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p>
|
||||
|
||||
Reference in New Issue
Block a user