liquid_feedback_frontend
diff app/main/lf2/_draft.lua @ 211:4993b71b383f
First checkin of lf2 (frontend second generation) prototype
author | bsw |
---|---|
date | Wed Mar 02 20:06:26 2011 +0100 (2011-03-02) |
parents | |
children | 73dbc9e2bfd4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/main/lf2/_draft.lua Wed Mar 02 20:06:26 2011 +0100 1.3 @@ -0,0 +1,5 @@ 1.4 +local draft = param.get("draft", "table") 1.5 + 1.6 +ui.container{ attr = { class = "draft" }, content = function() 1.7 + slot.put(format.wiki_text(draft.content, draft.formatting_engine)) 1.8 +end }