debian-mirror-gitlab/app/views/devise/shared/_tabs_normal.html.haml

10 lines
659 B
Text
Raw Normal View History

2020-05-24 23:13:21 +05:30
- tab_title = local_assigns.fetch(:tab_title, _('Sign in'))
- render_signup_link = local_assigns.fetch(:render_signup_link, true)
2018-11-08 19:23:39 +05:30
%ul.nav-links.new-session-tabs.nav-tabs.nav{ role: 'tablist' }
%li.nav-item{ role: 'presentation' }
2020-05-24 23:13:21 +05:30
%a.nav-link.active{ href: '#login-pane', data: { toggle: 'tab', qa_selector: 'sign_in_tab' }, role: 'tab' }= tab_title
- if render_signup_link && allow_signup?
2018-11-08 19:23:39 +05:30
%li.nav-item{ role: 'presentation' }
2019-10-12 21:52:04 +05:30
%a.nav-link{ href: '#register-pane', data: { track_label: 'sign_in_register', track_property: '', track_event: 'click_button', track_value: '', toggle: 'tab', qa_selector: 'register_tab' }, role: 'tab' } Register