liquid_feedback_frontend

annotate app/main/survey/index.lua @ 1751:ddbd46a34b6a

Allow API lookup of member profile fields
author bsw
date Tue Oct 12 15:37:28 2021 +0200 (2021-10-12)
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

Impressum / About Us