2015-04-18 21:44:40 +03:00
|
|
|
.text-center
|
2018-01-25 09:09:18 +05:30
|
|
|
.btn-group.btn-group-lg#openid-btn-grp
|
2015-04-18 21:44:40 +03:00
|
|
|
- omniauth_configured.each do |provider|
|
2019-12-19 03:32:52 -08:00
|
|
|
- if provider.to_s != :discourse
|
2019-12-19 03:06:12 -08:00
|
|
|
= link_to "user_#{provider}_omniauth_authorize".to_sym, class: "btn btn-success btn-lg",
|
|
|
|
|
id: "omniauth-#{provider}",
|
|
|
|
|
title: "Your #{provider} login" do
|
|
|
|
|
%i{class: "fa fa-#{provider}"}
|
|
|
|
|
- else
|
|
|
|
|
= link_to("Snap! Account",
|
|
|
|
|
"user_#{provider}_omniauth_authorize".to_sym,
|
|
|
|
|
class: "btn btn-success btn-lg",
|
|
|
|
|
id: "omniauth-#{provider}",
|
|
|
|
|
title: "Your #{provider} login")
|