# HG changeset patch # User bsw # Date 1633942152 -7200 # Node ID 49cb472e12d548fd8f6d85ad2ab1033e85abba45 # Parent f5c41bffb3ffa5dbe220c013907a44166abd109d Fixed syntax error diff -r f5c41bffb3ff -r 49cb472e12d5 app/main/survey/participate.lua --- a/app/main/survey/participate.lua Mon Oct 11 10:48:00 2021 +0200 +++ b/app/main/survey/participate.lua Mon Oct 11 10:49:12 2021 +0200 @@ -83,6 +83,7 @@ end } end } + end elseif question.answer_type == "checkbox" then for i, answer_option in ipairs(question.answer_options) do @@ -111,18 +112,18 @@ } end } end + end - slot.put("
") - ui.tag{ - tag = "input", - attr = { - type = "submit", - class = "mdl-button mdl-js-button mdl-button--raised mdl-button--colored", - value = _"Next step" - }, - content = "" - } - end + slot.put("
") + ui.tag{ + tag = "input", + attr = { + type = "submit", + class = "mdl-button mdl-js-button mdl-button--raised mdl-button--colored", + value = _"Next step" + }, + content = "" + } end } end