liquid_feedback_frontend
view app/main/index/change_password.lua @ 5:afd9f769c7ae
Version beta1
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
Final voting with Schulze-Method is now possible
Many bug fixes and code cleanup
Registration with invite codes
More sort and filter options
Seperated display of "supporters" and "potential supporters"
Optical changes
Flood limit / initiative contigent is now checked by frontend
Neccessary changes to access core beta11
author | bsw/jbe |
---|---|
date | Fri Dec 25 12:00:00 2009 +0100 (2009-12-25) |
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 }