diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-02 19:45:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-02 19:45:14 +0000 |
commit | dfc594c33702a123674dcae1d6b4bfe3a2f32fd3 (patch) | |
tree | 42f8653451b35f54db68bf914e1d963bfaf13418 /app/views/trackers/_form.html.erb | |
parent | 32b79b6fd4e3a523ee393d7a3e2bb60dbeed77c3 (diff) | |
download | redmine-dfc594c33702a123674dcae1d6b4bfe3a2f32fd3.tar.gz redmine-dfc594c33702a123674dcae1d6b4bfe3a2f32fd3.zip |
Default status per tracker (#5991).
git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/trackers/_form.html.erb')
-rw-r--r-- | app/views/trackers/_form.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/trackers/_form.html.erb b/app/views/trackers/_form.html.erb index 4c73555f9..5a7416548 100644 --- a/app/views/trackers/_form.html.erb +++ b/app/views/trackers/_form.html.erb @@ -4,8 +4,12 @@ <div class="box tabular"> <!--[form:tracker]--> <p><%= f.text_field :name, :required => true %></p> +<p><%= f.select :default_status_id, + IssueStatus.sorted.map {|s| [s.name, s.id]}, + :include_blank => @tracker.default_status.nil?, + :required => true %> +</p> <p><%= f.check_box :is_in_roadmap %></p> - <p> <label><%= l(:field_core_fields) %></label> <% Tracker::CORE_FIELDS.each do |field| %> |