{%extends 'base.html'%} {%load static%} {%block extracss%} {%endblock extracss%} {%block content%}
{{object.title}}
{% if user == object.author %} {% endif %}

{{object.content|safe}}

{{object.author}}

{%if user.is_authenticated%}
{%csrf_token%} {{form}}
{%endif%}
{%for comment in object.sorted_comments%}

{{comment.content}}

{{comment.date_added}}

{{comment.author}}

{% if user == comment.author %} {%endif%}

{%endfor%}
{%endblock content%} {# DODAC PRZYCISKI DO EDITA I DELETE #}