liquid_feedback_frontend
annotate app/main/registration/register_rejected_age.lua @ 1584:2874a199c727
Removed include_role from token endpoint and added it to validate endpoint
| author | bsw |
|---|---|
| date | Tue Jan 26 18:52:28 2021 +0100 (2021-01-26) |
| parents | a0d6c347ce7f |
| children |
| rev | line source |
|---|---|
| bsw/jbe@1309 | 1 ui.title(_"Self registration") |
| bsw/jbe@1309 | 2 app.html_title.title = _"Self registration" |
| bsw/jbe@1309 | 3 |
| bsw/jbe@1309 | 4 ui.container{ attr = { class = "mdl-grid" }, content = function() |
| bsw/jbe@1309 | 5 ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function() |
| bsw/jbe@1309 | 6 |
| bsw@1321 | 7 if config.self_registration.rejected_age_text then |
| bsw@1321 | 8 slot.put(config.self_registration.rejected_age_text) |
| bsw@1321 | 9 else |
| bsw@1321 | 10 ui.heading{ content = _"Registration rejected" } |
| bsw@1321 | 11 slot.put("<br />") |
| bsw@1321 | 12 ui.container { content = function() |
| bsw@1321 | 13 ui.tag { content = _"Sorry, but you need to be at least 16 years old to participate. You can " } |
| bsw@1321 | 14 ui.link{ content = _"browse the platform as a guest", module = "index", view = "index" } |
| bsw@1321 | 15 ui.tag{ content = "." } |
| bsw@1321 | 16 end } |
| bsw@1321 | 17 slot.put("<br />") |
| bsw@1321 | 18 end |
| bsw/jbe@1309 | 19 |
| bsw/jbe@1309 | 20 end } |
| bsw/jbe@1309 | 21 end } |