{% extends "base.html" %} {% load pagination_tags %} {% block content %}
{% include 'forums/nav_post.html' %}

{{ topic.forum.title }}

{% if user.is_staff or user == topic.user or user == topic.forum.user %} delete edit {% endif %}
{{ topic.title }}
{% autopaginate posts 30 %} {% paginate %}
{% for post in posts %} {% if forloop.last %} {% endif %} {% include 'forums/post.html' %} {% empty %}
There are currently no posts.
{% endfor %} {% paginate %}
{% include 'forums/nav_post.html' %}
{% endblock %}