[#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
This commit is contained in:
parent
c06ae3d7da
commit
86ba8491a5
@ -82,8 +82,13 @@ 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),
|
<%= check_box_tag "custom_field[tracker_ids][]",
|
||||||
:id => "custom_field_tracker_ids_#{tracker.id}" %><label id="no-css" for="custom_field_tracker_ids_<%=tracker.id%>"><%= h(tracker.name) %></label>
|
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>
|
||||||
|
@ -431,7 +431,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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user