liquid_feedback_frontend
view app/main/draft/_show.lua @ 5:afd9f769c7ae
Version beta1
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
author | bsw/jbe |
---|---|
date | Fri Dec 25 12:00:00 2009 +0100 (2009-12-25) |
parents | 80c215dbf076 |
children | 72c5e0ee7c98 |
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 = _"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 }