gitlab-org--gitlab-foss/app/views/dashboard/_projects.html.haml
2015-03-18 21:05:39 -07:00

10 lines
426 B
Text

.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 current_user.can_create_project?
%span.input-group-btn
= link_to new_project_path, class: 'btn btn-success' do
New project
= render 'shared/projects_list', projects: @projects, projects_limit: 20