<%= form_for(resource,
as: resource_name,
url: session_path(resource_name),
html: {class: 'form-horizontal', role: 'form'}) do |f| %>
<% if devise_mapping.rememberable? -%>
<% end -%>
<% end %>
<%= link_to(image_tag('commonwealth-vlr-engine/facebookLoginButton.png',
alt: 'Log in with Facebook',
class: 'alt_signin_btn'),
omniauth_authorize_path(resource_name, 'facebook')) %>
<%= link_to(image_tag('commonwealth-vlr-engine/bplLoginButton.png',
alt: 'Log in with your BPL library card',
class: 'alt_signin_btn'),
omniauth_authorize_path(resource_name, 'polaris')) %>
<%# omniauth_authorize_path(resource_name, provider) %>
<%= render 'devise/shared/links' %>