10 lines
391 B
Plaintext
10 lines
391 B
Plaintext
- if devise_mapping.omniauthable?
|
|
.row
|
|
.col-md-12
|
|
.pull-left
|
|
= t('layout.sessions.sign_up_with')
|
|
.pull-right
|
|
- resource_class.omniauth_providers.each do |provider|
|
|
a.text-muted> href=omniauth_authorize_path(resource_name, provider)
|
|
- provider = provider.to_s.gsub(/_oauth2/,'-plus')
|
|
i.fa.fa-2x class="fa-#{provider}-square" |