Log in
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
<%= f.label :password %>
<%= f.password_field :password, autocomplete: "current-password" %>
<% if kingsman_mapping.rememberable? %>
<%= f.check_box :remember_me %>
<%= f.label :remember_me %>
<% end %>
<%= f.submit "Log in" %>
<% end %>
<%= render "kingsman/shared/links" %>