{% macro choices(poll) %}
{% for choice in poll.choices %}
{% endfor %}
{% endmacro %} {% macro results(poll) %} {% for choice, votes in poll.results.most_common() %} {% endfor %}
{{ votes / n_answers if n_answers else 0 }} % ({{ votes }})
{% endmacro %}