2018-03-17 18:26:18 +05:30
|
|
|
- project = local_assigns.fetch(:project)
|
|
|
|
- members = local_assigns.fetch(:members)
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
.panel.panel-default
|
2017-08-17 22:00:37 +05:30
|
|
|
.panel-heading.flex-project-members-panel
|
|
|
|
%span.flex-project-title
|
|
|
|
Members of
|
2018-03-17 18:26:18 +05:30
|
|
|
%strong= project.name
|
|
|
|
%span.badge= members.total_count
|
|
|
|
= form_tag project_project_members_path(project), method: :get, class: 'form-inline member-search-form flex-project-members-form' do
|
2017-08-17 22:00:37 +05:30
|
|
|
.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-09-10 17:25:29 +05:30
|
|
|
%ul.content-list.members-list
|
2016-06-16 23:09:34 +05:30
|
|
|
= render partial: 'shared/members/member', collection: members, as: :member
|