Use class instead of redundant id

This commit is contained in:
Holger Just 2011-10-29 14:28:51 +02:00
parent fd3d67937c
commit ec6221b7fe
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ function toggle_custom_field_format() {
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>

View File

@ -424,7 +424,7 @@ margin-left: 5px !important;
width: auto;
}
label#no-css {
label.no-css {
font-weight: inherit;
float:none;
text-align:left;