liquid_feedback_frontend

annotate 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
author bsw
date Sat Jan 02 12:00:00 2010 +0100 (2010-01-02)
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 }

Impressum / About Us