Added alternative way to create SSO login buttons

This commit is contained in:
Christoph Haas 2017-04-23 18:00:03 +02:00
parent 93ffcfa7fc
commit 47a4178b50

View file

@ -25,6 +25,13 @@
.row
.text-center
// Alternative way to display buttons without images. (Amazon wants their own button though.)
/ p
/ = link_to (fa_icon 'google', text: '- Login with Google'), user_google_oauth2_omniauth_authorize_path, class: 'button secondary large'
/ p
/ = link_to (fa_icon 'github', text: '- Login with Google'), user_google_oauth2_omniauth_authorize_path, class: 'button secondary large'
p
= link_to image_tag('/images/sso/google.png'), user_google_oauth2_omniauth_authorize_path
p