Sign in

<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: {class: 'form-horizontal', role: 'form'}) do |f| %>
<%= f.text_field :uid, class: 'form-control' %>
<%= f.password_field :password, class: 'form-control' %> <%- if devise_mapping.recoverable? && controller_name != 'passwords' %> <%= link_to 'Forgot your password?', new_password_path(resource_name) %> <% end -%>
<% if devise_mapping.rememberable? -%>
<% end -%>
<%# f.submit "Sign in" %>
<% 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' %>

Why sign in?