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