liquid_feedback_frontend

diff app/main/admin/policy_show.lua @ 603:b5684668ac4b

Fixed titles and actions in admin section
author bsw
date Sun Jun 24 22:56:17 2012 +0200 (2012-06-24)
parents 7f41f3c44fae
children 54e32e34be01
line diff
     1.1 --- a/app/main/admin/policy_show.lua	Sun Jun 24 22:50:40 2012 +0200
     1.2 +++ b/app/main/admin/policy_show.lua	Sun Jun 24 22:56:17 2012 +0200
     1.3 @@ -1,18 +1,6 @@
     1.4  local policy = Policy:by_id(param.get_id()) or Policy:new()
     1.5  
     1.6 -
     1.7 -slot.put_into("title", _"Create / edit policy")
     1.8 -
     1.9 -
    1.10 -slot.select("actions", function()
    1.11 -  ui.link{
    1.12 -    attr = { class = { "admin_only" } },
    1.13 -    text = _"Cancel",
    1.14 -    module = "admin",
    1.15 -    view = "policy_list"
    1.16 -  }
    1.17 -end)
    1.18 -
    1.19 +ui.title(_"Create / edit policy")
    1.20  
    1.21  ui.form{
    1.22    attr = { class = "vertical" },

Impressum / About Us