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

11 lines
414 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
%p
%span.light
Sign in with  
- providers = additional_providers
- providers.each do |provider|
%span.light
- if default_providers.include?(provider)
= link_to oauth_image_tag(provider), omniauth_authorize_path(resource_name, provider), class: 'oauth-image-link'
- else
= link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn"