Sign in

<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<%= f.input :email, required: false, autofocus: true %> <%= f.input :password, required: false %> <%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
<%= f.button :submit, "Sign in" %>
<% end %> <%- if devise_mapping.recoverable? %> <%= link_to "Forgot your password?", new_password_path(resource_name) %>
<% end -%>