liquid_feedback_frontend
view app/main/index/updated_drafts.lua @ 1155:9fed7af9263f
Fixed usage of global variable
| author | bsw | 
|---|---|
| date | Mon Mar 23 15:11:01 2015 +0100 (2015-03-23) | 
| parents | 18e8de7a2b6a | 
| children | 
 line source
     1 local initiatives_selector = Initiative:selector_for_updated_drafts(app.session.member_id)
     3 ui.container{
     4   attr = { class = "heading" },
     5   content = _"Open initiatives you are supporting which has been updated their draft:"
     6 }
     8 slot.put("<br />")
    10 execute.view{
    11   module = "initiative",
    12   view = "_list",
    13   params = { initiatives_selector = initiatives_selector }
    14 }
