/modules/mod_survey/templates/_survey_poll_ongoing.tpl
https://code.google.com/p/zotonic/ · Smarty Template · 9 lines · 9 code · 0 blank · 0 comment · 4 complexity · 22e1dcb0be85f7adf61cd69f1b180873 MD5 · raw file
- {% for id in m.search[{query cat="poll" ongoing}]%}
- <div class="survey-poll" id="{{ #poll.id }}">
- {% if m.survey.did_survey[id] %}
- {% include "_survey_results.tpl" id=id inline %}
- {% else %}
- {% poll id=id element_id=#poll.id %}
- {% endif %}
- </div>
- {% endfor %}