{% extends 'base.html' %} {% block title %}

Article checkout


{% endblock %} {% block content %}
Title: {{ article.title }}
Tags:
    {% for tag in article.tags.all %}
  1. {{ tag.name }}
  2. {% endfor %}
Text: {{ article.text }}
Status: {{ article.status }}
By: {{ article.author }}
Created: {{ article.created_at }}
Updated: {{ article.updated_at }}

Edit
{% csrf_token %}

Comments:

{% csrf_token %} {% include 'partial/form.html' with button_text='add' %}
{% for comment in comments %}
{{ comment.author }}
{% csrf_token %}

{{ comment.text }}

{{ comment.created_at }}
{% empty %}

No comments yet.

{% endfor %}
{% endblock %}