From bd8de9a6f84052f72930dac3c5ee2e353c249238 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 2 Apr 2007 17:45:21 +0000 Subject: 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 --- app/views/trackers/_form.rhtml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/trackers') 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 @@

<%= f.text_field :name, :required => true %>

<%= f.check_box :is_in_chlog %>

<%= f.check_box :is_in_roadmap %>

+<% if @tracker.new_record? %> +

<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@trackers, :id, :name)) %>

+<% end %> -- cgit v1.2.3