PageRenderTime 15ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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