liquid_feedback_frontend
view app/main/index/change_password.lua @ 7:3941792e8be6
Version beta3
Table allowed_policy is respected while creating new issues
Broken vote now/later link is not shown anymore (until it's implemented)
More user friendly error page
Minor spelling error corrected
Table allowed_policy is respected while creating new issues
Broken vote now/later link is not shown anymore (until it's implemented)
More user friendly error page
Minor spelling error corrected
author | bsw |
---|---|
date | Sat Jan 02 12:00:00 2010 +0100 (2010-01-02) |
parents | 80c215dbf076 |
children |
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 util.help("index.change_password", _"Change password")
17 ui.form{
18 attr = { class = "vertical" },
19 module = "index",
20 action = "update_password",
21 routing = {
22 ok = {
23 mode = "redirect",
24 module = "index",
25 view = "index"
26 }
27 },
28 content = function()
29 ui.field.password{ label = _"Old password", name = "old_password" }
30 ui.field.password{ label = _"New password", name = "new_password1" }
31 ui.field.password{ label = _"Repeat new password", name = "new_password2" }
32 ui.submit{ value = _"Change password" }
33 end
34 }