app/views/shared/_sign_in_modal.html.haml
.reveal-modal.small#signInModal
%p.lead Welcome back, we missed you.
%a.close-reveal-modal ×
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.row
.small-12.columns
= f.email_field :email, placeholder: 'Email Address'
= f.password_field :password, placeholder: 'Password'
= hidden_field_tag :return_to, request.original_url
= f.submit "Login", class: 'button small pull-right'
.pull-left.forgot-password
= link_to "Forgot your password?", new_password_path(resource_name)
.alternate-label
%span or
%hr
= link_to omniauth_authorize_path(resource_name, :facebook), class: 'fb-button' do
%i.fa.fa-facebook
%span Login with Facebook
%hr
%ul.links
%li
Don't have an account?
= link_to "Create one now.", new_registration_path(resource_name)