Move common views to partial
This commit is contained in:
parent
b15c1abd2e
commit
969c24c091
16 changed files with 101 additions and 120 deletions
7
app/views/devise/shared/_openid_links.html.haml
Normal file
7
app/views/devise/shared/_openid_links.html.haml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.text-center
|
||||
.btn-group.btn-group-lg
|
||||
- omniauth_configured.each do |provider|
|
||||
= link_to user_omniauth_authorize_path(provider), class: "btn btn-success btn-lg",
|
||||
id: "omniauth-#{provider}",
|
||||
title: "Your #{provider} login" do
|
||||
%i{:class => "fa fa-#{provider}"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue