10 lines
479 B
Text
10 lines
479 B
Text
- providers = additional_providers
|
|
- if providers.present?
|
|
.bs-callout.bs-callout-info{:'data-no-turbolink' => 'data-no-turbolink'}
|
|
%span Sign in with:
|
|
- providers.each do |provider|
|
|
%span
|
|
- if default_providers.include?(provider)
|
|
= link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
|
|
- else
|
|
= link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn"
|