liquid_feedback_frontend

changeset 1233:ad207be24c7a

Fixed layout of email address confirmation dialog
author bsw
date Tue Dec 01 18:33:06 2015 +0100 (2015-12-01)
parents 77dc363fa0be
children 8288027edb54
files app/main/index/confirm_notify_email.lua
line diff
     1.1 --- a/app/main/index/confirm_notify_email.lua	Tue Dec 01 18:22:37 2015 +0100
     1.2 +++ b/app/main/index/confirm_notify_email.lua	Tue Dec 01 18:33:06 2015 +0100
     1.3 @@ -1,22 +1,29 @@
     1.4 -slot.put_into("title", _"Email address confirmation")
     1.5 +ui.title(_"Email address confirmation")
     1.6 +
     1.7 +ui.section(function() 
     1.8  
     1.9 -ui.form{
    1.10 -  attr = { class = "vertical" },
    1.11 -  module = "index",
    1.12 -  action = "confirm_notify_email",
    1.13 -  routing = {
    1.14 -    ok = {
    1.15 -      mode = "redirect",
    1.16 +  ui.sectionHead(function()
    1.17 +
    1.18 +    ui.form{
    1.19 +      attr = { class = "vertical" },
    1.20        module = "index",
    1.21 -      view = "index"
    1.22 +      action = "confirm_notify_email",
    1.23 +      routing = {
    1.24 +        ok = {
    1.25 +          mode = "redirect",
    1.26 +          module = "index",
    1.27 +          view = "index"
    1.28 +        }
    1.29 +      },
    1.30 +      content = function()
    1.31 +        ui.field.text{
    1.32 +          label = _"Confirmation code",
    1.33 +          name = "secret",
    1.34 +          value = param.get("secret")
    1.35 +        }
    1.36 +        ui.submit{ text = _"Confirm" }
    1.37 +      end
    1.38      }
    1.39 -  },
    1.40 -  content = function()
    1.41 -    ui.field.text{
    1.42 -      label = _"Confirmation code",
    1.43 -      name = "secret",
    1.44 -      value = param.get("secret")
    1.45 -    }
    1.46 -    ui.submit{ text = _"Confirm" }
    1.47 -  end
    1.48 -}
    1.49 \ No newline at end of file
    1.50 +
    1.51 +  end)
    1.52 +end)
    1.53 \ No newline at end of file

Impressum / About Us