<% content_for :devise_form do %>

Log in

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