2016-11-03 12:29:30 +05:30
|
|
|
%div.omniauth-container
|
|
|
|
%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)
|
|
|
|
= link_to provider_image_tag(provider), omniauth_authorize_path(:user, provider), method: :post, class: (has_icon ? 'oauth-image-link' : 'btn'), "data-no-turbolink" => "true"
|