.page-title-holder.d-flex.align-items-center %h1.page-title.gl-font-size-h-display= _('Groups') .page-title-controls.gl-display-flex.gl-align-items-center.gl-gap-5 = link_to _("Explore groups"), explore_groups_path - if current_user.can_create_group? = render Pajamas::ButtonComponent.new(href: new_group_path, variant: :confirm, button_options: { data: { qa_selector: "new_group_button", testid: "new-group-button" } }) do = _("New group") .top-area.gl-p-3.gl-justify-content-end .nav-controls = render 'shared/groups/search_form' = render 'shared/groups/dropdown'