{% load i18n pybb_tags %}
{% if request.user.is_authenticated %} {% if topic.poll|pybb_topic_poll_not_voted:request.user %} {% else %} {% for answer in topic.get_poll_answers %} {% endfor %} {% endif %} {% else %} {% for answer in topic.get_poll_answers %} {% endfor %} {% endif %}
{{ topic.poll.question }}
{% csrf_token %} {{ poll_form.answers }}

{% include "pybb/_button_submit.html" %}

{{ answer }} {{ answer.votes }} ({{ answer.votes_percent }} %)
{{ answer }}