diff --git a/app/views/types/_form.html.erb b/app/views/types/_form.html.erb index 816418caa5..620029d0c7 100644 --- a/app/views/types/_form.html.erb +++ b/app/views/types/_form.html.erb @@ -68,13 +68,17 @@ See doc/COPYRIGHT.rdoc for more details. <% if @projects.any? %>
<%= l(:label_project_plural) %> +
+ + (<%= check_all_links 'type_project_ids' %>) + +
<%= project_nested_ul(@projects) do |p| content_tag('label', check_box_tag('type[project_ids][]', p.id, controller.type.projects.include?(p), id: nil) + ' ' + h(p), class: 'form--label-with-check-box') end %> <%= hidden_field_tag('type[project_ids][]', '', id: nil) %> -
<%= check_all_links 'type_project_ids' %>
<% end %>