liquid_feedback_frontend
view app/main/member/settings_password.lua @ 509:d97be0729c53
Fixed order of initiatives in event listing
author | bsw |
---|---|
date | Sun Mar 25 23:23:20 2012 +0200 (2012-03-25) |
parents | 733f65c0c0a0 |
children | 418b590fa9ed |
line source
1 slot.put_into("title", _"Change your password")
3 slot.select("actions", function()
4 ui.link{
5 content = function()
6 ui.image{ static = "icons/16/cancel.png" }
7 slot.put(_"Cancel")
8 end,
9 module = "member",
10 view = "settings"
11 }
12 end)
14 util.help("member.settings.password", _"Change password")
16 ui.form{
17 attr = { class = "vertical" },
18 module = "member",
19 action = "update_password",
20 routing = {
21 ok = {
22 mode = "redirect",
23 module = "index",
24 view = "index"
25 }
26 },
27 content = function()
28 ui.field.password{ label = _"Old password", name = "old_password" }
29 ui.field.password{ label = _"New password", name = "new_password1" }
30 ui.field.password{ label = _"Repeat new password", name = "new_password2" }
31 ui.submit{ value = _"Change password" }
32 end
33 }