_projects.html.haml 405 Bytes
Newer Older
1 2
.projects-list-holder
  .projects-search-form
3
    .input-group
4
      = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control'
5
      - if current_user.can_create_project?
6 7 8
        %span.input-group-btn
          = link_to new_project_path, class: 'btn btn-success' do
            New project
9

10
  = render 'shared/projects/list', projects: @projects