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.
 
 
 
 
 

20 lines
493 B

  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. = f.text_field :email
  11. .field
  12. = f.label :password
  13. = f.password_field :password
  14. .field
  15. = f.label :password_confirmation
  16. = f.password_field :password_confirmation
  17. .actions
  18. = f.submit 'Save'