liquid_feedback_frontend

view app/main/index/change_password.lua @ 4:80c215dbf076

Version alpha5

Many optical changes and improved usability

Support for different wiki-formatting-engines

Help system
author bsw/jbe
date Thu Dec 10 12:00:00 2009 +0100 (2009-12-10)
parents 3bfb2fcf7ab9
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 }

Impressum / About Us