{% load humanize %} {% if obj.comments.live.exists %}

{{ obj.comments.live.count|apnumber|capfirst }} comment{{ obj.comments.live.count|pluralize }}

{% for comment in obj.comments.select_related.live %} {% include 'comments/comment.inc.html' %} {% if not forloop.last %}
{% endif %} {% endfor %} {% if comment_form %}

Post a comment

{% endif %} {% else %} {% if comment_form %}

Post a comment

{% endif %} {% endif %} {% if comment_form %} {% include 'comments/form.inc.html' with obj=obj %} {% endif %}