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

19 lines
801 B
Text
Raw Normal View History

2018-11-20 20:47:30 +05:30
.omniauth-container.prepend-top-15
%label.label-bold.d-block
Sign in with
- providers = enabled_button_based_providers
.d-flex.justify-content-between.flex-wrap
2016-11-03 12:29:30 +05:30
- providers.each do |provider|
2018-11-20 20:47:30 +05:30
- has_icon = provider_has_icon?(provider)
2019-03-02 22:35:43 +05:30
= link_to omniauth_authorize_path(:user, provider), method: :post, class: "btn d-flex align-items-center omniauth-btn text-left oauth-login #{qa_class_for_provider(provider)}", id: "oauth-login-#{provider}" do
2018-11-20 20:47:30 +05:30
- if has_icon
= provider_image_tag(provider)
2018-03-17 18:26:18 +05:30
%span
2018-11-20 20:47:30 +05:30
= label_for_provider(provider)
2020-04-08 14:13:33 +05:30
- unless defined?(hide_remember_me) && hide_remember_me
%fieldset.remember-me
%label
= check_box_tag :remember_me, nil, false, class: 'remember-me-checkbox'
%span
Remember me