liquid_feedback_frontend

annotate app/main/member/edit.lua @ 1:dd0109e81922

Version alpha2

Minor bug in bargraph output for suggestions fixed
author bsw
date Wed Nov 18 12:00:00 2009 +0100 (2009-11-18)
parents 3bfb2fcf7ab9
children 5c601807d397
rev   line source
bsw/jbe@0 1 slot.put_into("title", _"Edit my page")
bsw/jbe@0 2
bsw/jbe@0 3 slot.select("actions", function()
bsw/jbe@0 4 ui.link{
bsw/jbe@0 5 content = function()
bsw/jbe@0 6 ui.image{ static = "icons/16/cancel.png" }
bsw/jbe@0 7 slot.put(_"Cancel")
bsw/jbe@0 8 end,
bsw/jbe@0 9 module = "index",
bsw/jbe@0 10 view = "index"
bsw/jbe@0 11 }
bsw/jbe@0 12 end)
bsw/jbe@0 13
bsw/jbe@0 14 ui.form{
bsw/jbe@0 15 record = app.session.member,
bsw/jbe@0 16 attr = { class = "vertical" },
bsw/jbe@0 17 module = "member",
bsw/jbe@0 18 action = "update",
bsw/jbe@0 19 routing = {
bsw/jbe@0 20 ok = {
bsw/jbe@0 21 mode = "redirect",
bsw/jbe@0 22 module = "index",
bsw/jbe@0 23 view = "index"
bsw/jbe@0 24 }
bsw/jbe@0 25 },
bsw/jbe@0 26 content = function()
bsw/jbe@0 27 ui.field.text{ label = _"Name", name = "name" }
bsw/jbe@0 28 ui.submit{ value = _"Save" }
bsw/jbe@0 29 end
bsw/jbe@0 30 }

Impressum / About Us