liquid_feedback_frontend
view app/main/index/change_password.lua @ 3:768faea1096d
Version alpha4
Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.
Initiatives may provide a link to an external discussion platform
Direct link on every initiative page to create an alternative initiative
Bugfix: No error when clicking "neutral", when "neutral" is currently selected
Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.
Initiatives may provide a link to an external discussion platform
Direct link on every initiative page to create an alternative initiative
Bugfix: No error when clicking "neutral", when "neutral" is currently selected
| author | bsw |
|---|---|
| date | Mon Nov 30 12:00:00 2009 +0100 (2009-11-30) |
| parents | 3bfb2fcf7ab9 |
| children | 80c215dbf076 |
line source
2 slot.put_into("title", _"Change password")
4 slot.select("actions", function()
5 ui.link{
6 content = function()
7 ui.image{ static = "icons/16/cancel.png" }
8 slot.put(_"Cancel")
9 end,
10 module = "index",
11 view = "index"
12 }
13 end)
15 ui.form{
16 attr = { class = "vertical" },
17 module = "index",
18 action = "update_password",
19 routing = {
20 ok = {
21 mode = "redirect",
22 module = "index",
23 view = "index"
24 }
25 },
26 content = function()
27 ui.field.password{ label = _"Old password", name = "old_password" }
28 ui.field.password{ label = _"New password", name = "new_password1" }
29 ui.field.password{ label = _"Repeat new password", name = "new_password2" }
30 ui.submit{ value = _"Change password" }
31 end
32 }
