Commit 8afc60ee authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'revert-3e3af288' into 'master'

Revert "Merge branch '230764-mlunoe-migrate-groups-sso-tabs-to-gl-tabs' into 'master'"

See merge request gitlab-org/gitlab!82727
parents ad8f000e 7dabde49
import { redirectUserWithSSOIdentity } from 'ee/saml_sso';
import { GlTabsBehavior } from '~/tabs';
import UsernameValidator from '~/pages/sessions/new/username_validator';
import initConfirmDanger from '~/init_confirm_danger';
new GlTabsBehavior(document.querySelector('.new-session-tabs')); // eslint-disable-line no-new
new UsernameValidator(); // eslint-disable-line no-new
redirectUserWithSSOIdentity();
initConfirmDanger();
= gl_tabs_nav({ class: 'new-session-tabs' }) do
= gl_tab_link_to _('Register'), '#register-pane', item_active: true, data: { toggle: 'tab', qa_selector: 'register_pane_link' }
%ul.nav-links.new-session-tabs.nav-tabs.nav{ role: 'tablist' }
%li.nav-item{ role: 'presentation' }
%a.nav-link.active{ href: '#register-pane', role: 'tab', data: { toggle: 'tab', qa_selector: 'register_pane_link' } }
= _('Register')
- if ::Feature.enabled?(:convert_user_to_group_managed_accounts) && current_user && current_user.verified_email?(resource.email)
= gl_tab_link_to _('Authorize'), '#authorize-pane', data: { toggle: 'tab', qa_selector: 'authorize_pane_link' }
%li.nav-item{ role: 'presentation' }
%a.nav-link{ href: '#authorize-pane', role: 'tab', data: { toggle: 'tab', qa_selector: 'authorize_pane_link' } }
= _('Authorize')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment