<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :class => "form login-form") do |f| %>
<%= f.label :email, t('Email') %>
<%= f.email_field :email, :class => 'form-control' %>
<%= f.label :password, t('Password') %>
<%= f.password_field :password, :class => 'form-control' %>