2015-08-25 09:23:25 -04:00
|
|
|
.projects-list-holder
|
|
|
|
.projects-search-form
|
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-03-18 23:58:20 -04:00
|
|
|
%span.input-group-btn
|
|
|
|
= link_to new_project_path, class: 'btn btn-success' do
|
|
|
|
New project
|
2012-11-29 22:14:05 -05:00
|
|
|
|
2015-08-25 09:23:25 -04:00
|
|
|
%ul.projects-list.bordered-list.my-projects
|
|
|
|
- @projects.each do |project|
|
|
|
|
%li.project-row
|
|
|
|
= render partial: 'shared/project', locals: { project: project, avatar: true, stars: true }
|