liquid_feedback_frontend
view env/ui/box_row.lua @ 216:4f6e6b213fb8
Cleanup on second generation frontend code and stylesheet
author | bsw |
---|---|
date | Mon Mar 07 12:15:22 2011 +0100 (2011-03-07) |
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