Added label tags on various checkboxes.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@789 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ca094446b3
commit
0f966dbcfd
|
@ -63,7 +63,7 @@
|
|||
<% form_tag do %>
|
||||
<h3><%= l(:label_activity) %></h3>
|
||||
<p><% @event_types.each do |t| %>
|
||||
<%= check_box_tag "show_#{t}", 1, @scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%><br />
|
||||
<label><%= check_box_tag "show_#{t}", 1, @scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%></label><br />
|
||||
<% end %></p>
|
||||
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
|
||||
<% end %>
|
||||
|
|
|
@ -78,10 +78,10 @@ end %>
|
|||
<%= select_year(@year, :prefix => "year", :discard_type => true) %></p>
|
||||
|
||||
<% @trackers.each do |tracker| %>
|
||||
<%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %><br />
|
||||
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %></label><br />
|
||||
<% end %>
|
||||
<% if @project.active_children.any? %>
|
||||
<br /><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%>
|
||||
<br /><label><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%></label>
|
||||
<% end %>
|
||||
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
|
||||
<% end %>
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
<% form_tag do %>
|
||||
<h3><%= l(:label_change_log) %></h3>
|
||||
<% @trackers.each do |tracker| %>
|
||||
<%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
|
||||
<%= tracker.name %><br />
|
||||
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
|
||||
<%= tracker.name %></label><br />
|
||||
<% end %>
|
||||
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
|
||||
<% end %>
|
||||
|
|
|
@ -237,10 +237,10 @@ if Date.today >= @date_from and Date.today <= @date_to %>
|
|||
<h3><%= l(:label_gantt) %></h3>
|
||||
<% form_tag(params.merge(:tracker_ids => nil, :with_subprojects => nil)) do %>
|
||||
<% @trackers.each do |tracker| %>
|
||||
<%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %><br />
|
||||
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %></label><br />
|
||||
<% end %>
|
||||
<% if @project.active_children.any? %>
|
||||
<br /><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%>
|
||||
<br /><label><%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%></label>
|
||||
<% end %>
|
||||
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
|
||||
<% end %>
|
||||
|
|
|
@ -58,8 +58,8 @@
|
|||
<% form_tag do %>
|
||||
<h3><%= l(:label_roadmap) %></h3>
|
||||
<% @trackers.each do |tracker| %>
|
||||
<%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
|
||||
<%= tracker.name %><br />
|
||||
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
|
||||
<%= tracker.name %></label><br />
|
||||
<% end %>
|
||||
<br />
|
||||
<label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
|
||||
|
|
Loading…
Reference in New Issue