liquid_feedback_frontend
annotate app/main/initiative/edit.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
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 | |
children | 80c215dbf076 |
rev | line source |
---|---|
bsw@3 | 1 local initiative = Initiative:by_id(param.get_id()) |
bsw@3 | 2 |
bsw@3 | 3 slot.put_into("title", _"Edit initiative") |
bsw@3 | 4 |
bsw@3 | 5 ui.form{ |
bsw@3 | 6 record = initiative, |
bsw@3 | 7 module = "initiative", |
bsw@3 | 8 action = "update", |
bsw@3 | 9 id = initiative.id, |
bsw@3 | 10 attr = { class = "vertical" }, |
bsw@3 | 11 routing = { |
bsw@3 | 12 default = { |
bsw@3 | 13 mode = "redirect", |
bsw@3 | 14 module = "initiative", |
bsw@3 | 15 view = "show", |
bsw@3 | 16 id = initiative.id |
bsw@3 | 17 } |
bsw@3 | 18 }, |
bsw@3 | 19 content = function() |
bsw@3 | 20 ui.field.text{ label = _"Discussion URL", name = "discussion_url" } |
bsw@3 | 21 ui.submit{ text = _"Save" } |
bsw@3 | 22 end |
bsw@3 | 23 } |