From 86ba8491a58fed24e3d2fcbcb02b0ab922fbc732 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 30 Oct 2011 00:27:33 +0000 Subject: [PATCH] [#9489] use class instead of redundant id for label "no-css" Contributed by Holger Just. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7701 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/_form.html.erb | 9 +++++++-- public/stylesheets/application.css | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb index 9db6e9045..53e71703d 100644 --- a/app/views/custom_fields/_form.html.erb +++ b/app/views/custom_fields/_form.html.erb @@ -82,8 +82,13 @@ when "IssueCustomField" %>
<%=l(:label_tracker_plural)%> <% for tracker in @trackers %> - <%= check_box_tag "custom_field[tracker_ids][]", tracker.id, (@custom_field.trackers.include? tracker), - :id => "custom_field_tracker_ids_#{tracker.id}" %> + <%= check_box_tag "custom_field[tracker_ids][]", + tracker.id, + (@custom_field.trackers.include? tracker), + :id => "custom_field_tracker_ids_#{tracker.id}" %> + <% end %> <%= hidden_field_tag "custom_field[tracker_ids][]", '' %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index d0a9e4be3..44a67e477 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -431,7 +431,7 @@ margin-left: 5px !important; width: auto; } -label#no-css { +label.no-css { font-weight: inherit; float:none; text-align:left;