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' }
|
2021-11-11 11:23:49 +05:30
|
|
|
%a.nav-link{ href: '#register-pane', data: { track_label: 'sign_in_register', track_property: '', track_action: 'click_button', track_value: '', toggle: 'tab', qa_selector: 'register_tab' }, role: 'tab' } Register
|