summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-30 00:27:33 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-30 00:27:33 +0000
commit86ba8491a58fed24e3d2fcbcb02b0ab922fbc732 (patch)
tree2edab1338ceb17caa2f467e8976eee9ec8810217 /app/views/custom_fields
parentc06ae3d7dadc06854a020e80bb189d41a64bf102 (diff)
downloadredmine-86ba8491a58fed24e3d2fcbcb02b0ab922fbc732.tar.gz
redmine-86ba8491a58fed24e3d2fcbcb02b0ab922fbc732.zip
[#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
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/_form.html.erb9
1 files changed, 7 insertions, 2 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" %>
<fieldset><legend><%=l(:label_tracker_plural)%></legend>
<% 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}" %><label id="no-css" for="custom_field_tracker_ids_<%=tracker.id%>"><%= h(tracker.name) %></label>
+ <%= check_box_tag "custom_field[tracker_ids][]",
+ tracker.id,
+ (@custom_field.trackers.include? tracker),
+ :id => "custom_field_tracker_ids_#{tracker.id}" %>
+ <label class="no-css" for="custom_field_tracker_ids_<%=tracker.id%>">
+ <%= h(tracker.name) %>
+ </label>
<% end %>
<%= hidden_field_tag "custom_field[tracker_ids][]", '' %>
</fieldset>