{% extends 'base.html' %}

{% block content %}
<h1>Comments</h1>
<p>
    <a href="{% url 'core:comment-create' %}">+ New comment</a>
</p>
<table>
    <tbody>
        {% for comment in comments_list %}
        <tr>
            <dt>{{ comment }}</dt>
        </tr>
        {% empty %}
        <tr>No comments yet.</tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
