Commit ec6221b7 authored by Holger Just's avatar Holger Just

Use class instead of redundant id

parent fd3d6793
...@@ -81,7 +81,7 @@ function toggle_custom_field_format() { ...@@ -81,7 +81,7 @@ function toggle_custom_field_format() {
when "IssueCustomField" %> when "IssueCustomField" %>
<fieldset><legend><%=l(:label_tracker_plural)%></legend> <fieldset><legend><%=l(:label_tracker_plural)%></legend>
<% for tracker in @trackers %> <% 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 %> <% end %>
<%= hidden_field_tag "custom_field[tracker_ids][]", '' %> <%= hidden_field_tag "custom_field[tracker_ids][]", '' %>
</fieldset> </fieldset>
......
...@@ -424,7 +424,7 @@ margin-left: 5px !important; ...@@ -424,7 +424,7 @@ margin-left: 5px !important;
width: auto; width: auto;
} }
label#no-css { label.no-css {
font-weight: inherit; font-weight: inherit;
float:none; float:none;
text-align:left; text-align:left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment