liquid_feedback_frontend
annotate 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 |
rev | line source |
---|---|
bsw/jbe@0 | 1 local draft = param.get("draft", "table") |
bsw/jbe@0 | 2 |
bsw/jbe@0 | 3 ui.form{ |
bsw/jbe@0 | 4 attr = { class = "vertical" }, |
bsw/jbe@0 | 5 record = draft, |
bsw/jbe@0 | 6 readonly = true, |
bsw/jbe@0 | 7 content = function() |
bsw/jbe@0 | 8 |
bsw/jbe@0 | 9 ui.field.text{ label = _"Initiative", value = draft.initiative.name } |
bsw/jbe@0 | 10 ui.field.text{ label = _"Author", name = "author_name" } |
bsw/jbe@0 | 11 ui.field.text{ label = _"Content", name = "content" } |
bsw/jbe@0 | 12 |
bsw/jbe@0 | 13 end |
bsw/jbe@0 | 14 } |