{% load comments %} {% load text_filters %}
{% if block_comments|length > 0 %} {{ block_comments|length }} {{ block_comments|length|rupluralize:"комментарий,комментария,комментариев" }} {% else %} Комментировать {% endif %}
{% if block_comments %}
{% for comment in block_comments %} {% include "comments/inline-comment.html" %} {% endfor %}
{% endif %} {% if post.is_commentable %} {% if request.user.is_authenticated %} {% include "comments/inline-comment-form.html" %} {% else %} {% endif %} {% endif %}