remove unneeded Relation#all from app/views/custom_fields/_form.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12517 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
585d93e499
commit
251e3cc7fa
app/views/custom_fields
|
@ -88,7 +88,7 @@ when "IssueCustomField" %>
|
||||||
|
|
||||||
<% if @custom_field.is_a?(IssueCustomField) %>
|
<% if @custom_field.is_a?(IssueCustomField) %>
|
||||||
<fieldset class="box" id="custom_field_tracker_ids"><legend><%=l(:label_tracker_plural)%></legend>
|
<fieldset class="box" id="custom_field_tracker_ids"><legend><%=l(:label_tracker_plural)%></legend>
|
||||||
<% Tracker.sorted.all.each do |tracker| %>
|
<% Tracker.sorted.each do |tracker| %>
|
||||||
<%= check_box_tag "custom_field[tracker_ids][]",
|
<%= check_box_tag "custom_field[tracker_ids][]",
|
||||||
tracker.id,
|
tracker.id,
|
||||||
(@custom_field.trackers.include? tracker),
|
(@custom_field.trackers.include? tracker),
|
||||||
|
|
Loading…
Reference in New Issue