liquid_feedback_frontend

annotate app/main/member/settings_password.lua @ 609:2ad52d0067eb

Show when member is locked
author bsw
date Sun Jun 24 23:26:44 2012 +0200 (2012-06-24)
parents 418b590fa9ed
children 701a5cf6b067
rev   line source
bsw@564 1 ui.title(_"Change your password")
bsw@75 2
bsw@75 3 util.help("member.settings.password", _"Change password")
bsw@75 4
bsw@75 5 ui.form{
bsw@75 6 attr = { class = "vertical" },
bsw@75 7 module = "member",
bsw@75 8 action = "update_password",
bsw@75 9 routing = {
bsw@75 10 ok = {
bsw@75 11 mode = "redirect",
bsw@75 12 module = "index",
bsw@75 13 view = "index"
bsw@75 14 }
bsw@75 15 },
bsw@75 16 content = function()
bsw@75 17 ui.field.password{ label = _"Old password", name = "old_password" }
bsw@75 18 ui.field.password{ label = _"New password", name = "new_password1" }
bsw@75 19 ui.field.password{ label = _"Repeat new password", name = "new_password2" }
bsw@75 20 ui.submit{ value = _"Change password" }
bsw@75 21 end
bsw@75 22 }

Impressum / About Us