Added alternative way to create SSO login buttons
This commit is contained in:
parent
93ffcfa7fc
commit
47a4178b50
1 changed files with 7 additions and 0 deletions
|
|
@ -25,6 +25,13 @@
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.text-center
|
.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
|
p
|
||||||
= link_to image_tag('/images/sso/google.png'), user_google_oauth2_omniauth_authorize_path
|
= link_to image_tag('/images/sso/google.png'), user_google_oauth2_omniauth_authorize_path
|
||||||
p
|
p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue