Sign in


<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { class: 'form-horizontal' }) do |f| %>
<%= f.label :email, class: "col-sm-2 control-label" %>
<%= f.email_field :email, autofocus: true, class: "form-control" %>
<%= f.label :password, class: "col-sm-2 control-label" %>
<%= f.password_field :password, autocomplete: "off", class: "form-control" %>
<% if devise_mapping.rememberable? -%>
<%= f.check_box :remember_me %> <%= f.label :remember_me %>
<% end -%>
<%= f.submit "Sign in", class: 'btn btn-primary' %>
<%= render "devise/shared/links" %>
<% end %>