liquid_feedback_frontend
view app/main/draft/_show.lua @ 12:60bed92b7434
Version beta8
Bugfix in app/main/member_show.lua related to last fix
Bugfix in app/main/member_show.lua related to last fix
author | bsw |
---|---|
date | Fri Jan 22 12:00:00 2010 +0100 (2010-01-22) |
parents | 72c5e0ee7c98 |
children | 00d1004545f1 |
line source
1 local draft = param.get("draft", "table")
3 ui.form{
4 attr = { class = "vertical" },
5 record = draft,
6 readonly = true,
7 content = function()
9 ui.field.text{ label = _"Last author", name = "author_name" }
10 ui.field.timestamp{ label = _"Created at", name = "created" }
11 ui.container{
12 attr = { class = "draft_content wiki" },
13 content = function()
14 slot.put(format.wiki_text(draft.content, draft.formatting_engine))
15 end
16 }
17 end
18 }