# HG changeset patch # User bsw # Date 1448991186 -3600 # Node ID ad207be24c7a81e9a278016e29f89dfcbb973a71 # Parent 77dc363fa0be45035b4d126104b758f65f2bc741 Fixed layout of email address confirmation dialog diff -r 77dc363fa0be -r ad207be24c7a app/main/index/confirm_notify_email.lua --- a/app/main/index/confirm_notify_email.lua Tue Dec 01 18:22:37 2015 +0100 +++ b/app/main/index/confirm_notify_email.lua Tue Dec 01 18:33:06 2015 +0100 @@ -1,22 +1,29 @@ -slot.put_into("title", _"Email address confirmation") +ui.title(_"Email address confirmation") + +ui.section(function() -ui.form{ - attr = { class = "vertical" }, - module = "index", - action = "confirm_notify_email", - routing = { - ok = { - mode = "redirect", + ui.sectionHead(function() + + ui.form{ + attr = { class = "vertical" }, module = "index", - view = "index" + action = "confirm_notify_email", + routing = { + ok = { + mode = "redirect", + module = "index", + view = "index" + } + }, + content = function() + ui.field.text{ + label = _"Confirmation code", + name = "secret", + value = param.get("secret") + } + ui.submit{ text = _"Confirm" } + end } - }, - content = function() - ui.field.text{ - label = _"Confirmation code", - name = "secret", - value = param.get("secret") - } - ui.submit{ text = _"Confirm" } - end -} \ No newline at end of file + + end) +end) \ No newline at end of file