/samples/scalate-example/src/main/webapp/tableJade.jade

http://github.com/scalate/scalate · Jade · 18 lines · 15 code · 3 blank · 0 comment · 0 complexity · 4242e1c389509000b8c11c85698a5ee7 MD5 · raw file

  1. - val people = Map("James" -> "Mells", "Hiram" -> "Tampa")
  2. h1 Table Example
  3. .main
  4. table
  5. tr
  6. th Name
  7. th Location
  8. - for ((name, location) <- people)
  9. tr
  10. td= name
  11. td= location
  12. .description
  13. :markdown
  14. This is lots and lots of text.
  15. **Scalate** really is rather awesome!