{% load i18n %}

<div class="card block">
    <div class="card-header">
        <h2 class="card-header-title title is-2">{% translate 'Kommentare' %}</h2>
    </div>
    <div class="card-content">
        {% if adoption_notice.comments %}
            {% for comment in adoption_notice.comments %}
                {% include "fellchensammlung/partials/partial-comment.html" %}
            {% endfor %}
        {% else %}
            <p class="is-italic">{% translate 'Noch keine Kommentare' %}</p>
        {% endif %}
        {% if user.is_authenticated %}
            <hr>
            {% include "fellchensammlung/forms/form-comment.html" %}
        {% else %}
            <div class="card-footer-item">
                {% translate 'Du musst dich einloggen um Kommentare zu hinterlassen' %}
            </div>
        {% endif %}
    </div>
</div>