GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit.html.haml 684 B

1234567891011121314151617181920212223242526272829303132
  1. %h1 Choose a new password
  2. = form_for @user, :url => password_reset_path(@user), :html => { :method => :put } do |f|
  3. - if @user.errors.any?
  4. #error_explanation
  5. %h2
  6. = pluralize(@user.errors.count, "error")
  7. prohibited this user from being saved:
  8. %ul
  9. - @user.errors.full_messages.each do |msg|
  10. %li= msg
  11. .field
  12. = f.label :email
  13. %br
  14. = @user.email
  15. .field
  16. = f.label :password
  17. %br
  18. = f.password_field :password
  19. .field
  20. = f.label :password_confirmation
  21. %br
  22. = f.password_field :password_confirmation
  23. = hidden_field_tag :token, @token
  24. .actions
  25. = f.submit