2013-03-26 11:52:38 +00:00
|
|
|
- if devise_mapping.omniauthable?
|
|
|
|
.hr
|
|
|
|
.other
|
|
|
|
.left
|
|
|
|
%p= t('layout.sessions.sign_up_with')
|
|
|
|
.right
|
|
|
|
- resource_class.omniauth_providers.each do |provider|
|
|
|
|
= link_to omniauth_authorize_path(resource_name, provider) do
|
|
|
|
- provider = provider.to_s.gsub(/_oauth2/,'')
|
2013-04-04 15:19:49 +01:00
|
|
|
= image_tag("#{provider}.png", :alt => provider, :class => provider)
|
2013-03-26 11:52:38 +00:00
|
|
|
.both
|