]> source.dussan.org Git - redmine.git/commitdiff
[#9489] linked label to its element
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:19:18 +0000 (01:19 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:19:18 +0000 (01:19 +0000)
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7686 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/roles/_form.html.erb

index 5e6f61843daa968dedf30527d984c5ba5209d26b..1f9d24365378be08735c14412245705cd9372909 100644 (file)
@@ -7,7 +7,7 @@
 <% end %>
 <p><%= f.select :issues_visibility, Role::ISSUES_VISIBILITY_OPTIONS.collect {|v| [l(v.last), v.first]} %></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>