%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<%= f.label t('activerecord.attributes.user.username') %> <%= f.text_field :username, :class => 'login_password', :autofocus => true %>
<%= f.label t('activerecord.attributes.user.password') %> <%= f.password_field :password, :class => 'login_password', :autocomplete => 'off' %>
<%= notice %>
<%= alert %>
<%= f.check_box :remember_me %> <%= f.label :remember_me, t('user.remember_me') %>
<%= f.submit t('page.sign_in') %>