PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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