From 86ba8491a58fed24e3d2fcbcb02b0ab922fbc732 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 30 Oct 2011 00:27:33 +0000 Subject: [#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 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'app/views/custom_fields') 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][]", '' %>
-- cgit v1.2.3