diff options
Diffstat (limited to 'app/views/devise/shared')
-rw-r--r-- | app/views/devise/shared/_omniauth_box.html.haml | 8 | ||||
-rw-r--r-- | app/views/devise/shared/_tabs_ldap.html.haml | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/app/views/devise/shared/_omniauth_box.html.haml b/app/views/devise/shared/_omniauth_box.html.haml index d4f34a1cb3f..439a2fc4d96 100644 --- a/app/views/devise/shared/_omniauth_box.html.haml +++ b/app/views/devise/shared/_omniauth_box.html.haml @@ -13,8 +13,6 @@ %span.gl-button-text = label_for_provider(provider) - unless hide_remember_me - %fieldset - %label{ class: restyle_login_page_enabled ? 'gl-font-weight-normal' : '' } - = check_box_tag :remember_me, nil, false - %span - = _('Remember me') + = render Pajamas::CheckboxTagComponent.new(name: 'remember_me', value: nil) do |c| + = c.label do + = _('Remember me') diff --git a/app/views/devise/shared/_tabs_ldap.html.haml b/app/views/devise/shared/_tabs_ldap.html.haml index e81a5928983..76c4cf41a2d 100644 --- a/app/views/devise/shared/_tabs_ldap.html.haml +++ b/app/views/devise/shared/_tabs_ldap.html.haml @@ -1,7 +1,7 @@ - show_password_form = local_assigns.fetch(:show_password_form, password_authentication_enabled_for_web?) - render_signup_link = local_assigns.fetch(:render_signup_link, true) -%ul.nav-links.new-session-tabs.nav-tabs.nav{ class: "#{"custom-provider-tabs" if any_form_based_providers_enabled?} #{"nav-links-unboxed" if Feature.enabled?(:restyle_login_page, @project)}" } +%ul.nav-links.new-session-tabs.nav-tabs.nav{ class: "#{'custom-provider-tabs' if any_form_based_providers_enabled?} #{'nav-links-unboxed' if Feature.enabled?(:restyle_login_page, @project)}" } - if crowd_enabled? %li.nav-item = link_to _("Crowd"), "#crowd", class: "nav-link #{active_when(form_based_auth_provider_has_active_class?(:crowd))}", 'data-toggle' => 'tab', role: 'tab' |