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