2018-09-06 05:43:14 -04:00
|
|
|
.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-09-09 08:21:00 -04:00
|
|
|
- providers.each do |provider|
|
2018-09-06 05:43:14 -04:00
|
|
|
- has_icon = provider_has_icon?(provider)
|
2019-02-01 00:48:13 -05:00
|
|
|
= 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-09-06 05:43:14 -04:00
|
|
|
- if has_icon
|
|
|
|
= provider_image_tag(provider)
|
2017-09-14 13:58:15 -04:00
|
|
|
%span
|
2018-09-06 05:43:14 -04:00
|
|
|
= label_for_provider(provider)
|
|
|
|
%fieldset.remember-me
|
|
|
|
%label
|
|
|
|
= check_box_tag :remember_me, nil, false, class: 'remember-me-checkbox'
|
|
|
|
%span
|
|
|
|
Remember me
|