liquid_feedback_frontend
annotate app/main/survey/index.lua @ 1772:a6aa58ffccec
Fixed capitalization
| author | bsw | 
|---|---|
| date | Mon Oct 18 16:05:43 2021 +0200 (2021-10-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 |