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

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

app/views/activities/index.html.erb

index 113857a0de371a8152476878b54514f7e49e1aac..81916e5e136e767690ff0ee6ccd42c9f5cab2bca 100644 (file)
@@ -44,7 +44,7 @@
 <h3><%= l(:label_activity) %></h3>
 <p><% @activity.event_types.each do |t| %>
 <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %>
-<%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id]})%>
+<label for="show_<%=t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id]})%></label>
 <br />
 <% end %></p>
 <% if @project && @project.descendants.active.any? %>