liquid_feedback_frontend
annotate app/main/survey/index.lua @ 1859:02c34183b6df
Fixed wrong filename in INSTALL file
author | bsw |
---|---|
date | Tue Nov 28 18:54:51 2023 +0100 (22 months ago) |
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 |