From d1a59a2a7db7ee53cc69529ee59d9671c8ac2755 2011-10-29 01:19:18 From: Toshi MARUYAMA Date: 2011-10-29 01:19:18 Subject: [PATCH] [#9489] linked label to its element Contributed by Romano Licker. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7686 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/roles/_form.html.erb b/app/views/roles/_form.html.erb index 5e6f618..1f9d243 100644 --- a/app/views/roles/_form.html.erb +++ b/app/views/roles/_form.html.erb @@ -7,7 +7,7 @@ <% end %>

<%= f.select :issues_visibility, Role::ISSUES_VISIBILITY_OPTIONS.collect {|v| [l(v.last), v.first]} %>

<% if @role.new_record? && @roles.any? %> -

+

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

<% end %>