liquid_feedback_frontend
view env/ui/box_row.lua @ 217:73dbc9e2bfd4
Cummulative patch for enhancements at next generation frontend
author | bsw |
---|---|
date | Sat Mar 12 19:22:50 2011 +0100 (2011-03-12) |
parents | 1dab81353eb1 |
children |
line source
1 function ui.box_row(args)
2 app.ui_box_col = 1
3 local class = "row"
4 if args.class then class = class .. " " .. args.class end
5 ui.container{ attr = { class = class }, content = function()
6 if type(args.content) == "function" then
7 args.content()
8 else
9 slot.put(encode.html(args.content))
10 end
11 end }
12 end