Log in

<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<%= f.email_field :email, autofocus: true, placeholder: 'Email Address', class: 'form-control' %>
<%= f.password_field :password, autocomplete: "off", placeholder: 'Password', class: 'form-control' %>
<% if devise_mapping.rememberable? -%>
<% end -%>
<%= f.submit "Log in", class: "btn btn-primary btn-lg" %>
<% end %>
<%= render "devise/shared/links" %>