<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<%= f.label :email, t('login.email_label') %> <%= f.email_field :email %>
<%= f.label :password, t('login.password_label') %> <%= f.password_field :password %>
<%= f.submit t('login.login_button_label'), :class => :button %>
<% end %>