liquid_feedback_frontend
annotate app/main/survey/index.lua @ 1807:dd966ebdfa04
Fixed layout of checkbox label in survey
author | bsw |
---|---|
date | Thu Nov 18 14:54:49 2021 +0100 (2021-11-18) |
parents | 5a8a09119865 |
children |
rev | line source |
---|---|
bsw@1735 | 1 ui.heading{ level = 1, content = _"Surveys" } |
bsw@1735 | 2 |
bsw@1735 | 3 local surveys = Survey:get_open() |
bsw@1735 | 4 |
bsw@1735 | 5 for i, survey in ipairs(surveys) do |
bsw@1735 | 6 |
bsw@1735 | 7 ui.container{ content = function() |
bsw@1735 | 8 |
bsw@1735 | 9 ui.link{ module = "survey", view = "participate", id = survey.id, content = survey.name } |
bsw@1735 | 10 |
bsw@1735 | 11 ui.container{ content = survey.description } |
bsw@1735 | 12 |
bsw@1735 | 13 end } |
bsw@1735 | 14 |
bsw@1735 | 15 end |