liquid_feedback_frontend
view app/main/survey/index.lua @ 1791:4edec387855f
Better handling of translation strings with links
author | bsw |
---|---|
date | Wed Oct 20 16:04:30 2021 +0200 (2021-10-20) |
parents | 5a8a09119865 |
children |
line source
1 ui.heading{ level = 1, content = _"Surveys" }
3 local surveys = Survey:get_open()
5 for i, survey in ipairs(surveys) do
7 ui.container{ content = function()
9 ui.link{ module = "survey", view = "participate", id = survey.id, content = survey.name }
11 ui.container{ content = survey.description }
13 end }
15 end