form.pug 878 B

1234567891011121314151617181920212223242526272829
  1. form(method="post")
  2. fieldset
  3. legend General
  4. p
  5. label(for="user[name]") Username:
  6. input(type="text", name="user[name]", value=user.name)
  7. p
  8. label(for="user[email]") Email:
  9. input(type="text", name="user[email]", value=user.email)
  10. .tip.
  11. Enter a valid
  12. email address
  13. such as <em>tj@vision-media.ca</em>.
  14. fieldset
  15. legend Location
  16. p
  17. label(for="user[city]") City:
  18. input(type="text", name="user[city]", value=user.city)
  19. p
  20. select(name="user[province]")
  21. option(value="") -- Select Province --
  22. option(value="AB") Alberta
  23. option(value="BC") British Columbia
  24. option(value="SK") Saskatchewan
  25. option(value="MB") Manitoba
  26. option(value="ON") Ontario
  27. option(value="QC") Quebec
  28. p.buttons
  29. input(type="submit", value="Save")