liquid_feedback_frontend

annotate app/main/draft/_show.lua @ 3:768faea1096d

Version alpha4

Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.

Initiatives may provide a link to an external discussion platform

Direct link on every initiative page to create an alternative initiative

Bugfix: No error when clicking "neutral", when "neutral" is currently selected
author bsw
date Mon Nov 30 12:00:00 2009 +0100 (2009-11-30)
parents 5c601807d397
children 80c215dbf076
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 = _"Author", name = "author_name" }
bsw@2 10 ui.field.timestamp{ label = _"Created at", name = "created" }
bsw@2 11 ui.container{
bsw@2 12 attr = { class = "draft_content" },
bsw@2 13 content = function()
bsw@2 14 slot.put(format.wiki_text(draft.content))
bsw@2 15 end
bsw@2 16 }
bsw/jbe@0 17 end
bsw/jbe@0 18 }

Impressum / About Us