gitlab-org--gitlab-foss/app/views/devise/shared/_omniauth_box.html.haml

13 lines
515 B
Text
Raw Normal View History

2016-12-23 04:37:12 -05:00
.omniauth-container
%p
%span.light
Sign in with  
- providers = enabled_button_based_providers
- providers.each do |provider|
%span.light
- has_icon = provider_has_icon?(provider)
= 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}"
%fieldset
= check_box_tag :remember_me
= label_tag :remember_me, "Remember Me"