aec989707e
* added the ability the copy an existing workflow when creating a new role (closes #841) * use a single raw insert statement to copy tracker/role workflow rather than instantiating hundreds/thousands of objects git-svn-id: http://redmine.rubyforge.org/svn/trunk@1252 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
477 B
Plaintext
13 lines
477 B
Plaintext
<%= error_messages_for 'tracker' %>
|
|
<div class="box">
|
|
<!--[form:tracker]-->
|
|
<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? && @trackers.any? %>
|
|
<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>
|