<%= f.label :password, "Password:" %> <%= f.password_field :password, :class => "kryptoniteTextField" %>
%= form_for @reset_user, :url => kryptonite_password_reset_path do |f| %> <% if @reset_user.errors.any? %>
<% @reset_user.errors.keys.each do |key| %> <%= (key.to_s.humanize + " ") unless key == :base %> <%= @reset_user.errors[key].first %> <% end %>
<%= flash[:warning] %>
<%= flash[:notice] %>
<%= f.label :password, "Password:" %> <%= f.password_field :password, :class => "kryptoniteTextField" %>
<%= f.label :password_confirmation, "Confirm password:" %> <%= f.password_field :password_confirmation, :class => "kryptoniteTextField" %>
<%= f.submit "Reset password", :class => "kryptoniteSubmit" %>