{% extends "base.html" %} {% load util_tags %} {% block page_name %} {{ thread.title|word_filter }} - {% endblock %} {% block breadcrumb %} > {{ thread.forum.name }} > {{ thread.title|word_filter }} {% endblock %} {% block content %}
{% if user.is_authenticated and user.is_staff %}
{% csrf_token %} {{ thread_action_form.action }}
{% endif %}
{% include "page_list.html" with page=posts %}
{% if thread.poll %}

Poll: {{ thread.poll.question }}

    {% for opt, perc in thread.poll.get_vote_distribution_percentages.items %}
  • {{ opt }}
    {% if perc > 20 %} {{ perc|floatformat }}% {% endif %}
    {% if perc <= 20 %} {{ perc|floatformat }}% {% endif %}
  • {% endfor %}
{% if cast_vote_form %}
{% csrf_token %} {{ cast_vote_form.as_p }}
{% endif %}
{% endif %}

{{ thread.title|word_filter }}

{% include "post_list.html" with posts=posts show_thread_context=False show_post_controls=True show_thanks_block=True %}
{% include "page_list.html" with page=posts %} {% if user.is_authenticated and thread.can_reply %}

Quick Reply

{% csrf_token %}
{{ reply_form.as_p }}
BBCode Reference
{% endif %} {% if not thread.can_reply %}

This Thread Has Been Locked

{% endif %}
{% endblock %} {% block js %} {% include "require.html" with bootstrap="thread" %} {% endblock %}