2017-12-05 09:03:16 -05:00
|
|
|
- project = local_assigns.fetch(:project)
|
|
|
|
- members = local_assigns.fetch(:members)
|
|
|
|
|
2015-11-24 11:11:45 -05:00
|
|
|
.panel.panel-default
|
2017-04-24 14:24:51 -04:00
|
|
|
.panel-heading.flex-project-members-panel
|
|
|
|
%span.flex-project-title
|
2017-01-23 18:35:31 -05:00
|
|
|
Members of
|
2017-12-05 09:03:16 -05:00
|
|
|
%strong= project.name
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill= members.total_count
|
2017-12-05 09:03:16 -05:00
|
|
|
= form_tag project_project_members_path(project), method: :get, class: 'form-inline member-search-form flex-project-members-form' do
|
2016-12-22 17:38:27 -05:00
|
|
|
.form-group
|
|
|
|
= search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false }
|
|
|
|
%button.member-search-btn{ type: "submit", "aria-label" => "Submit search" }
|
|
|
|
= icon("search")
|
|
|
|
= render 'shared/members/sort_dropdown'
|
2017-07-05 15:17:02 -04:00
|
|
|
%ul.content-list.members-list
|
2016-10-06 10:41:00 -04:00
|
|
|
= render partial: 'shared/members/member', collection: members, as: :member
|