<%= f.label :login, "Login:" %> <%= f.text_field :login, :class => "kryptoniteTextField" %>
%= form_for @user_session, :url => kryptonite_user_session_path do |f| %> <% if @user_session.errors.any? %>
<% @user_session.errors.keys.each do |key| %> <%= (key.to_s.humanize + " ") unless key == :base %> <%= @user_session.errors[key].first %> <% end %>
<%= flash[:warning] %>
<%= flash[:notice] %>
<%= f.label :login, "Login:" %> <%= f.text_field :login, :class => "kryptoniteTextField" %>
<%= f.label :password, "Password:" %> <%= f.password_field :password, :class => "kryptoniteTextField" %>
<%= f.check_box :remember_me %> Remember me
<%= f.submit "Log in", :class => "kryptoniteSubmit" %>
<%= label_tag :recover_email, "Email:" %> <%= text_field_tag :recover_email, params[:recover_email], :class => "kryptoniteTextField" %>
<%= submit_tag "Reset", :class => "kryptoniteSubmit" %>