11 lines
414 B
Text
11 lines
414 B
Text
|
%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"
|