{% extends 'base.html' %} {% load static %} {% block body %}
{% if post.creator == user and not post.resolved or perms.forum.change_post and not post.resolved %}
{% if post.creator == user or perms.forum.delete_post %} {% endif %}
{% endif %}

{{ post.title }}

{% if post.resolved %}Closed {% endif %} Asked By: {{ post.creator }}, {{ post.created | date }}
{{ post.question | safe }}
{% if comments %}

Answers

    {% for comment in comments %}
  • {{ comment.creator }}, {{ comment.created | date }} {% autoescape off %} {{ comment }} {% endautoescape %}
  • {% endfor %}
{% endif %}
{% if not post.resolved and perms.forum.add_comment %}
Comment
{% csrf_token %} {{ form.reply }}
{% endif %}
{% endblock %}