PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
1{% for id in m.search[{query cat="poll" ongoing}]%}
2	<div class="survey-poll" id="{{ #poll.id }}">
3		{% if m.survey.did_survey[id] %}
4			{% include "_survey_results.tpl" id=id inline %}
5		{% else %}
6			{% poll id=id element_id=#poll.id %}
7		{% endif %}
8	</div>
9{% endfor %}