diff options
Diffstat (limited to 'app/views/roles/_form.rhtml')
-rw-r--r-- | app/views/roles/_form.rhtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/roles/_form.rhtml b/app/views/roles/_form.rhtml index b77cbacdf..58dc2af41 100644 --- a/app/views/roles/_form.rhtml +++ b/app/views/roles/_form.rhtml @@ -4,6 +4,10 @@ <div class="box"> <p><%= f.text_field :name, :required => true %></p> <p><%= f.check_box :assignable %></p> +<% if @role.new_record? && @roles.any? %> +<p><label><%= l(:label_copy_workflow_from) %></label> +<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@roles, :id, :name)) %></p> +<% end %> </div> <% end %> |