debian-mirror-gitlab/app/views/projects/project_members/_team.html.haml

22 lines
817 B
Text
Raw Normal View History

2015-12-23 02:04:40 +05:30
.panel.panel-default
2015-04-26 12:48:37 +05:30
.panel-heading
%strong #{@project.name}
project members
%small
(#{members.count})
2015-12-23 02:04:40 +05:30
.pull-right
= form_tag namespace_project_project_members_path(@project.namespace, @project), method: :get, class: 'form-inline member-search-form' do
.form-group
= search_field_tag :search, params[:search], { placeholder: 'Find existing member by name', class: 'form-control', spellcheck: false }
= button_tag class: 'btn', title: 'Search' do
= icon("search")
%ul.content-list
2015-04-26 12:48:37 +05:30
- members.each do |project_member|
2015-11-26 14:37:03 +05:30
= render 'project_member', member: project_member
2015-12-23 02:04:40 +05:30
:javascript
$('form.member-search-form').on('submit', function (event) {
event.preventDefault();
Turbolinks.visit(this.action + '?' + $(this).serialize());
});