liquid_feedback_frontend

view app/main/index/_login.lua @ 1858:3d1f0464a3ea

Handle missing ldap.member.allowed function
author bsw
date Tue Sep 20 17:35:29 2022 +0200 (20 months ago)
parents 701a5cf6b067
children
line source
1 ui.form{
2 attr = { class = "login" },
3 module = 'index',
4 action = 'login',
5 routing = {
6 ok = {
7 mode = 'redirect',
8 module = param.get("redirect_module") or "index",
9 view = param.get("redirect_view") or "index",
10 id = param.get("redirect_id"),
11 },
12 error = {
13 mode = 'forward',
14 module = 'index',
15 view = 'login',
16 }
17 },
18 content = function()
19 ui.field.text{
20 attr = { id = "username_field" },
21 label = _'login name',
22 html_name = 'login',
23 value = ''
24 }
25 ui.script{ script = 'document.getElementById("username_field").focus();' }
26 ui.field.password{
27 label = _'Password',
28 html_name = 'password',
29 value = ''
30 }
31 ui.submit{
32 text = _'Login'
33 }
34 slot.put("  ")
35 ui.link{ module = "index", view = "reset_password", text = _"Forgot password?" }
36 end
37 }

Impressum / About Us