2015-04-26 12:48:37 +05:30
|
|
|
%p
|
|
|
|
%span.light
|
|
|
|
Sign in with
|
2016-06-02 11:05:42 +05:30
|
|
|
- providers = enabled_button_based_providers
|
2015-04-26 12:48:37 +05:30
|
|
|
- providers.each do |provider|
|
|
|
|
%span.light
|
2015-09-11 14:41:01 +05:30
|
|
|
- has_icon = provider_has_icon?(provider)
|
2016-09-13 17:45:13 +05:30
|
|
|
= link_to provider_image_tag(provider), omniauth_authorize_path(:user, provider), method: :post, class: (has_icon ? 'oauth-image-link' : 'btn'), "data-no-turbolink" => "true"
|