liquid_feedback_frontend
view app/main/draft/_show.lua @ 0:3bfb2fcf7ab9
Version alpha1
author | bsw/jbe |
---|---|
date | Wed Nov 18 12:00:00 2009 +0100 (2009-11-18) |
parents | |
children | 5c601807d397 |
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 = _"Initiative", value = draft.initiative.name }
10 ui.field.text{ label = _"Author", name = "author_name" }
11 ui.field.text{ label = _"Content", name = "content" }
13 end
14 }