##// END OF EJS Templates
Added label tags on various checkboxes....
Jean-Philippe Lang -
r778:0f966dbcfdd3
parent child
Show More
@@ -63,7 +63,7
63 63 <% form_tag do %>
64 64 <h3><%= l(:label_activity) %></h3>
65 65 <p><% @event_types.each do |t| %>
66 <%= check_box_tag "show_#{t}", 1, @scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%><br />
66 <label><%= check_box_tag "show_#{t}", 1, @scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%></label><br />
67 67 <% end %></p>
68 68 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
69 69 <% end %>
@@ -78,10 +78,10 end %>
78 78 <%= select_year(@year, :prefix => "year", :discard_type => true) %></p>
79 79
80 80 <% @trackers.each do |tracker| %>
81 <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %><br />
81 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %></label><br />
82 82 <% end %>
83 83 <% if @project.active_children.any? %>
84 <br /><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%>
84 <br /><label><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%></label>
85 85 <% end %>
86 86 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
87 87 <% end %>
@@ -29,8 +29,8
29 29 <% form_tag do %>
30 30 <h3><%= l(:label_change_log) %></h3>
31 31 <% @trackers.each do |tracker| %>
32 <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
33 <%= tracker.name %><br />
32 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
33 <%= tracker.name %></label><br />
34 34 <% end %>
35 35 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
36 36 <% end %>
@@ -237,10 +237,10 if Date.today >= @date_from and Date.today <= @date_to %>
237 237 <h3><%= l(:label_gantt) %></h3>
238 238 <% form_tag(params.merge(:tracker_ids => nil, :with_subprojects => nil)) do %>
239 239 <% @trackers.each do |tracker| %>
240 <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %><br />
240 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %></label><br />
241 241 <% end %>
242 242 <% if @project.active_children.any? %>
243 <br /><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%>
243 <br /><label><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%></label>
244 244 <% end %>
245 245 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
246 246 <% end %>
@@ -58,8 +58,8
58 58 <% form_tag do %>
59 59 <h3><%= l(:label_roadmap) %></h3>
60 60 <% @trackers.each do |tracker| %>
61 <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
62 <%= tracker.name %><br />
61 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
62 <%= tracker.name %></label><br />
63 63 <% end %>
64 64 <br />
65 65 <label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
General Comments 0
You need to be logged in to leave comments. Login now