2018-11-18 11:00:15 +05:30
|
|
|
- page_title _("Groups")
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.top-area
|
2020-07-28 23:09:34 +05:30
|
|
|
.gl-mt-3.gl-mb-3
|
2019-12-04 20:38:33 +05:30
|
|
|
= form_tag admin_groups_path, method: :get, class: 'js-search-form' do |f|
|
|
|
|
= hidden_field_tag :sort, @sort
|
|
|
|
.search-holder
|
|
|
|
.search-field-holder
|
2022-06-21 17:19:12 +05:30
|
|
|
= search_field_tag :name, params[:name].presence, class: "form-control search-text-input js-search-input", autofocus: true, spellcheck: false, placeholder: 'Search by name', data: { qa_selector: 'group_search_field' }
|
2021-01-03 14:25:43 +05:30
|
|
|
= sprite_icon('search', css_class: 'search-icon')
|
2019-12-04 20:38:33 +05:30
|
|
|
= render "shared/groups/dropdown", options_hash: admin_groups_sort_options_hash
|
2021-04-17 20:07:23 +05:30
|
|
|
= link_to new_admin_group_path, class: "gl-button btn btn-confirm" do
|
2019-12-04 20:38:33 +05:30
|
|
|
= _('New group')
|
|
|
|
%ul.content-list
|
|
|
|
= render @groups
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
= paginate @groups, theme: "gitlab"
|