liquid_feedback_frontend

view app/main/member/settings_password.lua @ 1284:2bd70367dda8

Changed wording of notitication timing
author bsw
date Mon Apr 18 09:50:46 2016 +0200 (2016-04-18)
parents 701a5cf6b067
children 32cc544d5a5b
line source
1 ui.titleMember(_"Password")
3 execute.view {
4 module = "member", view = "_sidebar_whatcanido", params = {
5 member = app.session.member
6 }
7 }
9 ui.form{
10 attr = { class = "wide" },
11 module = "member",
12 action = "update_password",
13 routing = {
14 ok = {
15 mode = "redirect",
16 module = "member",
17 view = "show",
18 id = app.session.member_id
19 }
20 },
21 content = function()
22 ui.section( function()
23 ui.sectionHead( function()
24 ui.heading { level = 1, content = _"Password" }
25 end )
27 ui.sectionRow( function()
28 ui.heading { level = 2, content = _"Enter your current password:" }
29 ui.field.password{ name = "old_password" }
31 slot.put("<br />")
33 ui.heading { level = 2, content = _"Enter a new password:" }
34 ui.field.password{ name = "new_password1" }
36 ui.heading { level = 2, content = _"Enter your new password again please:" }
37 ui.field.password{ name = "new_password2" }
39 slot.put("<br />")
41 ui.tag{
42 tag = "input",
43 attr = {
44 type = "submit",
45 class = "btn btn-default",
46 value = _"Save"
47 },
48 content = ""
49 }
50 slot.put("<br /><br /><br />")
51 ui.link {
52 module = "member", view = "show", id = app.session.member_id,
53 content = _"Cancel"
54 }
55 end )
56 end )
57 end
58 }

Impressum / About Us