/samples/scalate-example/src/main/webapp/tableWithLayout.jade
http://github.com/scalate/scalate · Jade · 19 lines · 16 code · 3 blank · 0 comment · 0 complexity · b7f5d393cd835902c60bd57881dd9288 MD5 · raw file
- - attributes("layout") = "myLayout.jade"
- - val people = Map("James" -> "Mells", "Hiram" -> "Tampa")
- h1 Table Example
- .main
- table
- tr
- th Name
- th Location
- - for ((name, location) <- people)
- tr
- td= name
- td= location
-
- .description
- :markdown
- This is lots and lots of text.
- **Scalate** really is rather awesome!