{% load comment_tags %} {% load i18n %}
{% get_comments_count model_object user %} {% trans "Comments" %} {% block comment_messages %} {% include "comment/comments/messages.html" %} {% endblock comment_messages %}
{% include 'comment/comments/create_comment.html' with placeholder="comment on this post..." comment=None %}
{% for comment in comments %} {% include 'comment/comments/parent_comment.html' with placeholder='reply to this comment...' %} {% endfor %}
{% if allowed_flags %} {% include "comment/flags/flag_modal.html" %} {% endif %} {% if comments.paginator.num_pages > 1 %} {% block pagination %} {% include 'comment/comments/pagination.html' with active_btn='bg-success' text_style='text-success' li_cls='page-item rounded mx-1' %} {% endblock pagination %} {% endif %}