diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-02 17:45:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-02 17:45:21 +0000 |
commit | bd8de9a6f84052f72930dac3c5ee2e353c249238 (patch) | |
tree | 263b6cb6d665f2451c62e467ed5a25dabed84bc1 /app/views/trackers | |
parent | 0a82489ddcc2f2603c11741f5b653e898170d9fd (diff) | |
download | redmine-bd8de9a6f84052f72930dac3c5ee2e353c249238.tar.gz redmine-bd8de9a6f84052f72930dac3c5ee2e353c249238.zip |
Added the ability to copy an existing workflow when creating a new tracker.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@399 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/trackers')
-rw-r--r-- | app/views/trackers/_form.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/trackers/_form.rhtml b/app/views/trackers/_form.rhtml index 3dea238d8..26a34443c 100644 --- a/app/views/trackers/_form.rhtml +++ b/app/views/trackers/_form.rhtml @@ -4,5 +4,8 @@ <p><%= f.text_field :name, :required => true %></p> <p><%= f.check_box :is_in_chlog %></p> <p><%= f.check_box :is_in_roadmap %></p> +<% if @tracker.new_record? %> +<p><label><%= l(:label_copy_workflow_from) %></label> <%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@trackers, :id, :name)) %></p> +<% end %> <!--[eoform:tracker]--> </div> |