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

15 lines
590 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.omniauth-container
2016-11-03 12:29:30 +05:30
%p
2015-04-26 12:48:37 +05:30
%span.light
2016-11-03 12:29:30 +05:30
Sign in with  
- providers = enabled_button_based_providers
- providers.each do |provider|
%span.light
- has_icon = provider_has_icon?(provider)
2017-09-10 17:25:29 +05:30
= link_to provider_image_tag(provider), omniauth_authorize_path(:user, provider), method: :post, class: 'oauth-login' + (has_icon ? ' oauth-image-link' : ' btn'), id: "oauth-login-#{provider}"
2018-11-08 19:23:39 +05:30
%fieldset.prepend-top-10.remember-me
2018-03-17 18:26:18 +05:30
%label
= check_box_tag :remember_me, nil, false, class: 'remember-me-checkbox'
%span
Remember me