{% load comments %} {% load bootstrap %}
{% get_comment_count for comment_object as comment_count %} {% if comment_count > 0 %}

All Comments ({{ comment_count }})

{% render_comment_list for comment_object %}
{% endif %}
{% if user.is_authenticated %} {% get_comment_form for comment_object as form %}
{% csrf_token %} {{ form.comment | bootstrap }} {{ form.honeypot }} {{ form.content_type }} {{ form.object_pk }} {{ form.timestamp }} {{ form.security_hash }}
{% else %} Want to comment? Simply login as one of our users superman@example.com, wonderwoman@example.com or our blogger, agent0014@example.com. Let's just say their passwords are secret. {% endif %}