{% load i18n %}

<div class="card">
    <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/bulma-partial-comment.html" %}
            {% endfor %}
        {% else %}
            <p class="is-italic">{% translate 'Noch keine Kommentare' %}</p>
        {% endif %}
    </div>
    <footer class="card-footer">
        {% if user.is_authenticated %}
            {% include "fellchensammlung/forms/bulma-form-comment.html" %}
        {% else %}
            <p class="card-footer-item">
                {% translate 'Du musst dich einloggen um Kommentare zu hinterlassen' %}
            </p>
        {% endif %}
    </footer>
</div>