{% load i18n fontawesome_5 %}

{% comment %}
    Used in e.g. reports and detail views for every model which supports comment field (BaseObject derived)
{% endcomment %}


{% if obj.comment %}
<div class="col-sm-12">
    <div class="card mt-3">
        <div class="card-header rlp-gd">
            <div class="row">
                <div class="col-sm-12 col-md-12 col-lg-12">
                    <h5 class="card-title">
                        {% fa5_icon 'info-circle' %}
                        {% trans 'Comment' %}
                    </h5>
                </div>
            </div>
        </div>
        <div class="card-body">
            <div class="scroll-150 font-italic">
                {{obj.comment}}
            </div>
        </div>
    </div>
</div>
{% endif %}