12acf15c90
refactoring buttons, fixes for projects filter on the dashboard and group page
10 lines
495 B
Text
10 lines
495 B
Text
.panel.panel-default.projects-list-holder
|
|
.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-green' do
|
|
New project
|
|
|
|
= render 'shared/projects/list', projects: @projects, projects_limit: 20, stars: false
|