debian-mirror-gitlab/app/views/admin/groups/index.html.haml
2022-06-21 17:19:12 +05:30

17 lines
776 B
Text

- page_title _("Groups")
.top-area
.gl-mt-3.gl-mb-3
= form_tag admin_groups_path, method: :get, class: 'js-search-form' do |f|
= hidden_field_tag :sort, @sort
.search-holder
.search-field-holder
= 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' }
= sprite_icon('search', css_class: 'search-icon')
= render "shared/groups/dropdown", options_hash: admin_groups_sort_options_hash
= link_to new_admin_group_path, class: "gl-button btn btn-confirm" do
= _('New group')
%ul.content-list
= render @groups
= paginate @groups, theme: "gitlab"