liquid_feedback_frontend
view app/main/index/confirm_notify_email.lua @ 1342:b45fe5c83402
Set correct form enctype
| author | bsw | 
|---|---|
| date | Fri Aug 03 17:42:47 2018 +0200 (2018-08-03) | 
| parents | ad207be24c7a | 
| children | 6f28933dbc36 | 
 line source
     1 ui.title(_"Email address confirmation")
     3 ui.section(function() 
     5   ui.sectionHead(function()
     7     ui.form{
     8       attr = { class = "vertical" },
     9       module = "index",
    10       action = "confirm_notify_email",
    11       routing = {
    12         ok = {
    13           mode = "redirect",
    14           module = "index",
    15           view = "index"
    16         }
    17       },
    18       content = function()
    19         ui.field.text{
    20           label = _"Confirmation code",
    21           name = "secret",
    22           value = param.get("secret")
    23         }
    24         ui.submit{ text = _"Confirm" }
    25       end
    26     }
    28   end)
    29 end)
