[#667] linked label to its element

This commit is contained in:
Romano Licker 2011-10-20 17:51:24 +02:00 committed by Holger Just
parent ecf6a9636a
commit 26a7ea468a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<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>
<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, :id, :name)) %></p>
<% end %>
</div>