liquid_feedback_frontend

annotate app/main/index/confirm_notify_email.lua @ 252:eb6d04201f81

Show evil browser notice as inlined warning instead of opening an evil popup
author Ingo Bormuth <mail@ibormuth.de>
date Fri Dec 30 04:02:37 2011 +0100 (2011-12-30)
parents 8d91bccab0bf
children ad207be24c7a
rev   line source
bsw/jbe@6 1 slot.put_into("title", _"Email address confirmation")
bsw/jbe@6 2
bsw/jbe@6 3 ui.form{
bsw/jbe@6 4 attr = { class = "vertical" },
bsw/jbe@6 5 module = "index",
bsw/jbe@6 6 action = "confirm_notify_email",
bsw/jbe@6 7 routing = {
bsw/jbe@6 8 ok = {
bsw/jbe@6 9 mode = "redirect",
bsw/jbe@6 10 module = "index",
bsw/jbe@6 11 view = "index"
bsw/jbe@6 12 }
bsw/jbe@6 13 },
bsw/jbe@6 14 content = function()
bsw/jbe@6 15 ui.field.text{
bsw/jbe@6 16 label = _"Confirmation code",
bsw/jbe@6 17 name = "secret",
bsw/jbe@6 18 value = param.get("secret")
bsw/jbe@6 19 }
bsw/jbe@6 20 ui.submit{ text = _"Confirm" }
bsw/jbe@6 21 end
bsw/jbe@6 22 }

Impressum / About Us