liquid_feedback_frontend
annotate model/survey_question.lua @ 1850:accb808d5b4a
Added token based voting
| author | bsw |
|---|---|
| date | Tue Mar 22 10:19:22 2022 +0100 (2022-03-22) |
| parents | 5a8a09119865 |
| children |
| rev | line source |
|---|---|
| bsw@1735 | 1 SurveyQuestion = mondelefant.new_class() |
| bsw@1735 | 2 SurveyQuestion.table = 'survey_question' |
| bsw@1735 | 3 |
| bsw@1735 | 4 SurveyQuestion:add_reference{ |
| bsw@1735 | 5 mode = 'm1', |
| bsw@1735 | 6 to = "Survey", |
| bsw@1735 | 7 this_key = 'survey_id', |
| bsw@1735 | 8 that_key = 'id', |
| bsw@1735 | 9 ref = 'survey', |
| bsw@1735 | 10 } |