summaryrefslogtreecommitdiff
path: root/app/views/groups/_projects.html.haml
blob: 4f8aec1c67e9a4f767febb7cc0f7c5313edef0b9 (plain)
1
2
3
4
5
6
7
8
9
10
.panel.panel-default
  .panel-heading.clearfix
    .input-group
      = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control'
      - if can? current_user, :create_projects, @group
        %span.input-group-btn
          = link_to new_project_path(namespace_id: @group.id), class: 'btn btn-success' do
            New project

  = render 'shared/projects_list', projects: @projects, projects_limit: 20