liquid_feedback_frontend

diff app/main/index/reset_password.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 58647c8a0339
children 701a5cf6b067
line diff
     1.1 --- a/app/main/index/reset_password.lua	Sat Apr 20 18:40:34 2013 +0200
     1.2 +++ b/app/main/index/reset_password.lua	Sat Apr 20 18:51:28 2013 +0200
     1.3 @@ -1,15 +1,14 @@
     1.4  execute.view{ module = "index", view = "_lang_chooser" }
     1.5  
     1.6 -slot.put_into("title", _"Reset password")
     1.7 +ui.title(_"Reset password")
     1.8  
     1.9 -slot.select("actions", function()
    1.10 +ui.actions(function()
    1.11    ui.link{
    1.12      content = function()
    1.13 -        ui.image{ static = "icons/16/cancel.png" }
    1.14 -        slot.put(_"Cancel password reset")
    1.15 +        slot.put(_"Cancel")
    1.16      end,
    1.17      module = "index",
    1.18 -    view = "index"
    1.19 +    view = "login"
    1.20    }
    1.21  end)
    1.22  
    1.23 @@ -34,10 +33,12 @@
    1.24      },
    1.25      content = function()
    1.26        ui.field.text{ 
    1.27 -        label = "Login",
    1.28 +        label = _"login name",
    1.29          name = "login"
    1.30        }
    1.31        ui.submit{ text = _"Request password reset link" }
    1.32 +      slot.put("  ")
    1.33 +      ui.link{ module = "index", view = "send_login", text = _"Forgot login name?" }
    1.34      end
    1.35    }
    1.36  

Impressum / About Us