liquid_feedback_frontend
diff app/main/member/edit.lua @ 564:418b590fa9ed
Optical enhancements, cleanup
| author | bsw | 
|---|---|
| date | Tue Jun 19 22:44:18 2012 +0200 (2012-06-19) | 
| parents | 9e6a23f11f32 | 
| children | 701a5cf6b067 | 
   line diff
1.1 --- a/app/main/member/edit.lua Tue Jun 19 22:39:57 2012 +0200 1.2 +++ b/app/main/member/edit.lua Tue Jun 19 22:44:18 2012 +0200 1.3 @@ -1,15 +1,4 @@ 1.4 -slot.put_into("title", _"Edit my profile") 1.5 - 1.6 -slot.select("actions", function() 1.7 - ui.link{ 1.8 - content = function() 1.9 - ui.image{ static = "icons/16/cancel.png" } 1.10 - slot.put(_"Cancel") 1.11 - end, 1.12 - module = "member", 1.13 - view = "settings" 1.14 - } 1.15 -end) 1.16 +ui.title(_"Edit my profile") 1.17 1.18 util.help("member.edit", _"Edit my page") 1.19 1.20 @@ -21,8 +10,9 @@ 1.21 routing = { 1.22 ok = { 1.23 mode = "redirect", 1.24 - module = "index", 1.25 - view = "index" 1.26 + module = "member", 1.27 + view = "show", 1.28 + id = app.session.member_id 1.29 } 1.30 }, 1.31 content = function()