liquid_feedback_frontend

annotate app/main/index/send_login.lua @ 989:5a712ec1a7f1

Added support for login name recovery by email address
author bsw
date Sat Apr 20 18:51:28 2013 +0200 (2013-04-20)
parents
children 701a5cf6b067
rev   line source
bsw@989 1 ui.title(_"Request email with login name")
bsw@989 2
bsw@989 3 ui.actions(function()
bsw@989 4 ui.link{
bsw@989 5 content = function()
bsw@989 6 slot.put(_"Cancel")
bsw@989 7 end,
bsw@989 8 module = "index",
bsw@989 9 view = "login"
bsw@989 10 }
bsw@989 11 end)
bsw@989 12
bsw@989 13 ui.tag{
bsw@989 14 tag = 'p',
bsw@989 15 content = _'Please enter your email address. You will receive an email with your login name.'
bsw@989 16 }
bsw@989 17 ui.form{
bsw@989 18 attr = { class = "vertical" },
bsw@989 19 module = "index",
bsw@989 20 action = "send_login",
bsw@989 21 routing = {
bsw@989 22 ok = {
bsw@989 23 mode = "redirect",
bsw@989 24 module = "index",
bsw@989 25 view = "index"
bsw@989 26 }
bsw@989 27 },
bsw@989 28 content = function()
bsw@989 29 ui.field.text{
bsw@989 30 label = _"Email address",
bsw@989 31 name = "email"
bsw@989 32 }
bsw@989 33 ui.submit{ text = _"Request email with login name" }
bsw@989 34 end
bsw@989 35 }

Impressum / About Us