liquid_feedback_frontend
view app/main/index/confirm_notify_email.lua @ 122:c7954c3a5bb2
setting <title> tag. fallback: take class="title"-contents
| author | jorges | 
|---|---|
| date | Mon Sep 20 01:18:03 2010 +0200 (2010-09-20) | 
| parents | 8d91bccab0bf | 
| children | ad207be24c7a | 
 line source
     1 slot.put_into("title", _"Email address confirmation")
     3 ui.form{
     4   attr = { class = "vertical" },
     5   module = "index",
     6   action = "confirm_notify_email",
     7   routing = {
     8     ok = {
     9       mode = "redirect",
    10       module = "index",
    11       view = "index"
    12     }
    13   },
    14   content = function()
    15     ui.field.text{
    16       label = _"Confirmation code",
    17       name = "secret",
    18       value = param.get("secret")
    19     }
    20     ui.submit{ text = _"Confirm" }
    21   end
    22 }
