2016-02-05 19:33:24 +00:00
|
|
|
.top-area
|
|
|
|
.nav-controls
|
|
|
|
= form_tag request.original_url, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f|
|
2016-02-04 18:05:40 +00:00
|
|
|
- if @projects.present?
|
|
|
|
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control', spellcheck: false
|
2016-03-04 15:42:58 +00:00
|
|
|
= render 'shared/projects/dropdown'
|
|
|
|
- if can? current_user, :create_projects, @group
|
|
|
|
= link_to new_project_path(namespace_id: @group.id), class: 'btn btn-new pull-right' do
|
|
|
|
= icon('plus')
|
|
|
|
New Project
|
2015-03-05 01:22:55 +00:00
|
|
|
|
2016-03-03 12:47:32 +00:00
|
|
|
= render 'shared/projects/list', projects: @projects, stars: false, skip_namespace: true
|