Log in
<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<%= f.input :email,
required: false,
autofocus: true,
input_html: { autocomplete: "email" } %>
<%= f.input :password,
required: false,
input_html: { autocomplete: "current-password" } %>
<%= f.input :remember_me, as: :boolean if kingsman_mapping.rememberable? %>
<%= f.button :submit, "Log in" %>
<% end %>
<%= render "kingsman/shared/links" %>