2014-05-29 11:42:44 -04:00
|
|
|
.panel.panel-default
|
2014-05-29 11:43:21 -04:00
|
|
|
.panel-heading.clearfix
|
2014-12-17 05:20:05 -05:00
|
|
|
.input-group
|
2015-03-04 20:22:55 -05:00
|
|
|
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control'
|
2014-12-17 05:20:05 -05:00
|
|
|
- if current_user.can_create_project?
|
2015-01-23 21:17:55 -05:00
|
|
|
.input-group-addon.dash-new-project
|
|
|
|
= link_to new_project_path do
|
2014-12-17 05:20:05 -05:00
|
|
|
%strong New project
|
2012-11-29 22:14:05 -05:00
|
|
|
|
2015-03-04 20:22:55 -05:00
|
|
|
= render 'shared/projects_list', projects: @projects, projects_limit: 20
|