liquid_feedback_frontend
annotate app/main/initiative/_sidebar_policies.lua @ 1334:b0ed2b11ea28
Renamed save hook
| author | bsw | 
|---|---|
| date | Fri Aug 03 17:22:41 2018 +0200 (2018-08-03) | 
| 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 ) |