2016-02-05 14:33:24 -05: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 13:05:40 -05: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 10:42:58 -05: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-04 20:22:55 -05:00
|
|
|
|
2016-03-03 07:47:32 -05:00
|
|
|
= render 'shared/projects/list', projects: @projects, stars: false, skip_namespace: true
|