liquid_feedback_frontend
view app/main/index/confirm_notify_email.lua @ 911:c0d17602fd8c
Added tag v2.1.0 for changeset e7cea3037d69
| author | bsw | 
|---|---|
| date | Sun Sep 23 17:11:03 2012 +0200 (2012-09-23) | 
| 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 }
