{% load static %}

<link rel="stylesheet" type="text/css" href="{% static 'blog/style.css' %}">
<h2>{{post.title}}</h2>
<h3>{{post.text}}</h3>
<link/>

{% if error_message %} <p><strong>{{error_message}}</strong></p>{% endif %}

<form action="{% url 'blog:leave_a_comment' post.id %}" method="post">
    {%csrf_token %}
    <label>Leave your comment here.</label>
    <textarea name="comment_text"></textarea>
    <button type="submit">SAVE</button>
</form>

<ul>
{% for comment in post.comment_set.all %}
    <li>{{comment.author}}<br/>
        {{comment.text}}</li>
{% endfor %}
</ul>