[#9489] set unique id for each checkbox and linked it
added "no-css" class to overwrite the current label style Contributed by Romano Licker. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7683 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e76e7fd6ea
commit
fb0c6d433f
|
@ -82,7 +82,8 @@ 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) %> <%=h tracker.name %>
|
||||
<%= 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>
|
||||
<% end %>
|
||||
<%= hidden_field_tag "custom_field[tracker_ids][]", '' %>
|
||||
</fieldset>
|
||||
|
|
|
@ -431,6 +431,13 @@ margin-left: 5px !important;
|
|||
width: auto;
|
||||
}
|
||||
|
||||
label#no-css {
|
||||
font-weight: inherit;
|
||||
float:none;
|
||||
text-align:left;
|
||||
margin-left:0px;
|
||||
width:auto;
|
||||
}
|
||||
input#time_entry_comments { width: 90%;}
|
||||
|
||||
#preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
|
||||
|
|
Loading…
Reference in New Issue