Move common views to partial
This commit is contained in:
parent
b15c1abd2e
commit
969c24c091
16 changed files with 101 additions and 120 deletions
|
|
@ -1,7 +1,13 @@
|
|||
.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}"}
|
||||
- unless omniauth_configured.empty?
|
||||
.row
|
||||
.col-md-4
|
||||
%hr
|
||||
.col-md-4
|
||||
%h4.text-center
|
||||
or sign in using
|
||||
.col-md-4
|
||||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
#openidlinks
|
||||
= render partial: 'devise/shared/openid_links'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue