{% load dialogos_tags %} {% load bootstrap_tags %} {% load pagination_tags %} {% load url from future %} {% load friendly_loader %} {% load i18n %} {% friendly_load avatar_tags %} {% load i18n %}

{% trans 'Comments' %} ({% comment_count resource %} total)

{% if user.is_authenticated %}
{% trans 'Add Comment' %}
{% else %}

{% trans 'Log in to add a comment' %}

{% endif %}
{% comments resource as comment_list %} {% autopaginate comment_list 5 %} {% for comment in comment_list %} {% endfor %}
{% paginate %}
{% if user.is_authenticated %} {% comment_form resource as form %} {% endif %}