<% Poll.question %> |
macro renders a poll's question
(either as text or editor) |
Sourcecode in Poll/macros.js:
1: function question_macro(param) { 2: if (param.as == "editor") 3: Html.textArea(this.createInputParam("question", param)); 4: else 5: res.write(this.question); 6: return; 7: } |