liquid_feedback_frontend
annotate app/main/initiative/_sidebar_policies.lua @ 1091:20680a81c3e1
Fixed view for creating new initiatives in polling mode
author | bsw |
---|---|
date | Fri Oct 17 11:30:09 2014 +0200 (2014-10-17) |
parents | 701a5cf6b067 |
children |
rev | line source |
---|---|
bsw@1045 | 1 local area = param.get("area", "table") |
bsw@1045 | 2 |
bsw@1045 | 3 ui.sidebar ( "tab-whatcanido", function () |
bsw@1045 | 4 ui.sidebarHead( function() |
bsw@1045 | 5 ui.heading { level = 2, content = _"Available policies" } |
bsw@1045 | 6 end ) |
bsw@1045 | 7 execute.view { module = "policy", view = "_list", params = { |
bsw@1045 | 8 for_area = area |
bsw@1045 | 9 } } |
bsw@1045 | 10 end ) |