liquid_feedback_frontend
changeset 1344:047a4c0f17fe
Fixed wrong place to set correct form enctype
author | bsw |
---|---|
date | Fri Aug 03 17:45:19 2018 +0200 (2018-08-03) |
parents | 63970058b2dc |
children | 4ad5104c0cb5 |
files | app/main/registration/register.lua |
line diff
1.1 --- a/app/main/registration/register.lua Fri Aug 03 17:43:37 2018 +0200 1.2 +++ b/app/main/registration/register.lua Fri Aug 03 17:45:19 2018 +0200 1.3 @@ -7,9 +7,9 @@ 1.4 ui.container{ attr = { class = "mdl-cell mdl-cell--12-col" }, content = function() 1.5 1.6 ui.form{ 1.7 - attr = { onsubmit = "document.getElementById('register_button').disabled = true;" }, 1.8 + attr = { onsubmit = "document.getElementById('register_button').disabled = true;", enctype = 'multipart/form-data' }, 1.9 module = "registration", action = "register", 1.10 - enctype = 'multipart/form-data', 1.11 + 1.12 routing = { 1.13 error = { mode = "forward", module = "registration", view = "register" } 1.14 },