liquid_feedback_frontend

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/app/main/draft/_show.lua	Wed Nov 18 12:00:00 2009 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +local draft = param.get("draft", "table")
     1.5 +
     1.6 +ui.form{
     1.7 +  attr = { class = "vertical" },
     1.8 +  record = draft,
     1.9 +  readonly = true,
    1.10 +  content = function()
    1.11 +
    1.12 +    ui.field.text{ label = _"Initiative", value = draft.initiative.name }
    1.13 +    ui.field.text{ label = _"Author", name = "author_name" }
    1.14 +    ui.field.text{ label = _"Content", name = "content" }
    1.15 +
    1.16 +  end
    1.17 +}

Impressum / About Us