[#667] linked label to its element
This commit is contained in:
parent
6f5fda2248
commit
2b472d876d
|
@ -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? %>
|
||||
|
|
Loading…
Reference in New Issue