From 0f966dbcfdd3832b8a2cd3ca10fd60eeac64c51c Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang
Date: Mon, 1 Oct 2007 15:22:03 +0000
Subject: [PATCH] Added label tags on various checkboxes.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@789 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
app/views/projects/activity.rhtml | 2 +-
app/views/projects/calendar.rhtml | 4 ++--
app/views/projects/changelog.rhtml | 4 ++--
app/views/projects/gantt.rhtml | 4 ++--
app/views/projects/roadmap.rhtml | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml
index b4c1d9ae8..604b9f721 100644
--- a/app/views/projects/activity.rhtml
+++ b/app/views/projects/activity.rhtml
@@ -63,7 +63,7 @@
<% form_tag do %>
<%= l(:label_activity) %>
<% @event_types.each do |t| %>
-<%= check_box_tag "show_#{t}", 1, @scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%>
+
<% end %>
<%= submit_tag l(:button_apply), :class => 'button-small' %>
<% end %>
diff --git a/app/views/projects/calendar.rhtml b/app/views/projects/calendar.rhtml
index b09d059a9..ad022f303 100644
--- a/app/views/projects/calendar.rhtml
+++ b/app/views/projects/calendar.rhtml
@@ -78,10 +78,10 @@ end %>
<%= select_year(@year, :prefix => "year", :discard_type => true) %>
<% @trackers.each do |tracker| %>
- <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %>
+
<% end %>
<% if @project.active_children.any? %>
-
<%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%>
+
<% end %>
<%= submit_tag l(:button_apply), :class => 'button-small' %>
<% end %>
diff --git a/app/views/projects/changelog.rhtml b/app/views/projects/changelog.rhtml
index 61ca54a24..e4d32a393 100644
--- a/app/views/projects/changelog.rhtml
+++ b/app/views/projects/changelog.rhtml
@@ -29,8 +29,8 @@
<% form_tag do %>
<%= l(:label_change_log) %>
<% @trackers.each do |tracker| %>
- <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
- <%= tracker.name %>
+
<% end %>
<%= submit_tag l(:button_apply), :class => 'button-small' %>
<% end %>
diff --git a/app/views/projects/gantt.rhtml b/app/views/projects/gantt.rhtml
index dbf95d345..d3b3167fc 100644
--- a/app/views/projects/gantt.rhtml
+++ b/app/views/projects/gantt.rhtml
@@ -237,10 +237,10 @@ if Date.today >= @date_from and Date.today <= @date_to %>
<%= l(:label_gantt) %>
<% 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 %>
+
<% end %>
<% if @project.active_children.any? %>
-
<%= check_box_tag "with_subprojects", 1, params[:with_subprojects] %> <%=l(:label_subproject_plural)%>
+
<% end %>
<%= submit_tag l(:button_apply), :class => 'button-small' %>
<% end %>
diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml
index c370e5a9e..8d681657e 100644
--- a/app/views/projects/roadmap.rhtml
+++ b/app/views/projects/roadmap.rhtml
@@ -58,8 +58,8 @@
<% form_tag do %>
<%= l(:label_roadmap) %>
<% @trackers.each do |tracker| %>
- <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
- <%= tracker.name %>
+
<% end %>