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.

_form.html.haml 517 B

12345678910111213141516171819202122
  1. = form_for @user do |f|
  2. -if @user.errors.any?
  3. #error_explanation
  4. %h2= "#{pluralize(@user.errors.count, "error")} prohibited this user from being saved:"
  5. %ul
  6. - @user.errors.full_messages.each do |msg|
  7. %li= msg
  8. .field
  9. = f.label :email
  10. %br
  11. = f.text_field :email
  12. .field
  13. = f.label :password
  14. %br
  15. = f.password_field :password
  16. .field
  17. = f.label :password_confirmation
  18. %br
  19. = f.password_field :password_confirmation
  20. .actions
  21. = f.submit 'Save'