liquid_feedback_frontend
annotate app/main/index/confirm_notify_email.lua @ 1676:8fde003bdeb0
Added support for alternative DN string
author | bsw |
---|---|
date | Mon Jun 07 20:58:31 2021 +0200 (2021-06-07) |
parents | ad207be24c7a |
children | 6f28933dbc36 |
rev | line source |
---|---|
bsw@1233 | 1 ui.title(_"Email address confirmation") |
bsw@1233 | 2 |
bsw@1233 | 3 ui.section(function() |
bsw/jbe@6 | 4 |
bsw@1233 | 5 ui.sectionHead(function() |
bsw@1233 | 6 |
bsw@1233 | 7 ui.form{ |
bsw@1233 | 8 attr = { class = "vertical" }, |
bsw/jbe@6 | 9 module = "index", |
bsw@1233 | 10 action = "confirm_notify_email", |
bsw@1233 | 11 routing = { |
bsw@1233 | 12 ok = { |
bsw@1233 | 13 mode = "redirect", |
bsw@1233 | 14 module = "index", |
bsw@1233 | 15 view = "index" |
bsw@1233 | 16 } |
bsw@1233 | 17 }, |
bsw@1233 | 18 content = function() |
bsw@1233 | 19 ui.field.text{ |
bsw@1233 | 20 label = _"Confirmation code", |
bsw@1233 | 21 name = "secret", |
bsw@1233 | 22 value = param.get("secret") |
bsw@1233 | 23 } |
bsw@1233 | 24 ui.submit{ text = _"Confirm" } |
bsw@1233 | 25 end |
bsw/jbe@6 | 26 } |
bsw@1233 | 27 |
bsw@1233 | 28 end) |
bsw@1233 | 29 end) |