Adds link betweeen label and select box

pull/6827/head
Hagen Schink 11 years ago
parent 19452e50a7
commit 7df005e8ee
  1. 2
      app/views/roles/_member_attributes.html.erb

@ -12,6 +12,6 @@ See doc/COPYRIGHT.rdoc for more details.
<p><%= f.check_box :assignable %></p>
<% if role.new_record? && roles.any? %>
<p><label><%= l(:label_copy_workflow_from) %></label>
<p><label for="copy_workflow_from"><%= l(:label_copy_workflow_from) %></label>
<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@roles.select{|r| !r.is_a?(GlobalRole)}, :id, :name)) %></p>
<% end %>

Loading…
Cancel
Save