@@ -102,8 +102,9 when "IssueCustomField" %> | |||
|
102 | 102 | </fieldset> |
|
103 | 103 | |
|
104 | 104 | <fieldset class="box" id="custom_field_project_ids"><legend><%= l(:label_project_plural) %></legend> |
|
105 | <% project_ids = @custom_field.project_ids.to_a %> | |
|
105 | 106 | <%= render_project_nested_lists(Project.all) do |p| |
|
106 |
content_tag('label', check_box_tag('custom_field[project_ids][]', p.id, |
|
|
107 | content_tag('label', check_box_tag('custom_field[project_ids][]', p.id, project_ids.include?(p.id), :id => nil) + ' ' + p) | |
|
107 | 108 | end %> |
|
108 | 109 | <%= hidden_field_tag('custom_field[project_ids][]', '', :id => nil) %> |
|
109 | 110 | <p><%= check_all_links 'custom_field_project_ids' %></p> |
General Comments 0
You need to be logged in to leave comments.
Login now