{%extends 'base.html'%} {%load static%} {%block extracss%} {%endblock extracss%} {%block content%}

{{object.title}}

{{object.content|safe}}

{{object.author}}

Comments:

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

{{comment.content}}

{{comment.date_added}}

{{comment.author}}

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