liquid_feedback_frontend
annotate 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 |
rev | line source |
---|---|
bsw/jbe@0 | 1 |
bsw/jbe@0 | 2 slot.put_into("title", _"Change password") |
bsw/jbe@0 | 3 |
bsw/jbe@0 | 4 slot.select("actions", function() |
bsw/jbe@0 | 5 ui.link{ |
bsw/jbe@0 | 6 content = function() |
bsw/jbe@0 | 7 ui.image{ static = "icons/16/cancel.png" } |
bsw/jbe@0 | 8 slot.put(_"Cancel") |
bsw/jbe@0 | 9 end, |
bsw/jbe@0 | 10 module = "index", |
bsw/jbe@0 | 11 view = "index" |
bsw/jbe@0 | 12 } |
bsw/jbe@0 | 13 end) |
bsw/jbe@0 | 14 |
bsw/jbe@4 | 15 util.help("index.change_password", _"Change password") |
bsw/jbe@4 | 16 |
bsw/jbe@0 | 17 ui.form{ |
bsw/jbe@0 | 18 attr = { class = "vertical" }, |
bsw/jbe@0 | 19 module = "index", |
bsw/jbe@0 | 20 action = "update_password", |
bsw/jbe@0 | 21 routing = { |
bsw/jbe@0 | 22 ok = { |
bsw/jbe@0 | 23 mode = "redirect", |
bsw/jbe@0 | 24 module = "index", |
bsw/jbe@0 | 25 view = "index" |
bsw/jbe@0 | 26 } |
bsw/jbe@0 | 27 }, |
bsw/jbe@0 | 28 content = function() |
bsw/jbe@0 | 29 ui.field.password{ label = _"Old password", name = "old_password" } |
bsw/jbe@0 | 30 ui.field.password{ label = _"New password", name = "new_password1" } |
bsw/jbe@0 | 31 ui.field.password{ label = _"Repeat new password", name = "new_password2" } |
bsw/jbe@0 | 32 ui.submit{ value = _"Change password" } |
bsw/jbe@0 | 33 end |
bsw/jbe@0 | 34 } |