<% if current_team && can_create_projects?(current_team) %> <%= link_to new_project_path(project_folder_id: @current_folder), class: 'btn btn-primary new-project-btn', remote: true do %> <% end %> <% end %> <% if current_team && can_create_project_folders?(current_team) %> <%= link_to new_project_folder_path(project_folder_id: @current_folder), class: 'btn btn-light new-project-folder-btn', remote: true do %> <% end %> <% end %> <%= button_to archive_group_projects_path, class: 'btn btn-light archive-projects-btn multiple-object-action project-only-action hidden', form_class: 'archive-projects-form', data: { for: :archivable }, remote: true, method: :post do %> <% end %>