{% embed "@LcShop/backend/default/block/embed_modal.twig" %}
    {% trans_default_domain 'lcshop' %}

    {% block id %}modal-reminder-{{ reminder.id }}{% endblock %}
    {% block title %}{{ "group.Reminder.title"|trans }} (#{{ reminder.id }}){% endblock %}

    {% block content %}
        <div class="row">
            <div class="col-1 align-center">
                <i class="fa fa-thumbtack"></i>
            </div>
            <div class="col-11">
                <h5><strong>{{ reminder.title }}</strong></h5>
            </div>

            {% if reminder.dateReminder %}
                <div class="col-1  align-center">
                    <i class="fa fa-calendar"></i>
                </div>
                <div class="col-11">
                    <p>{{ reminder.dateReminder|date('d/m/Y') }}</p>
                </div>
            {% endif %}
            {% if reminder.description %}
                <div class="col-1  align-center">
                    <i class="fa fa-align-left"></i>
                </div>
                <div class="col-11">
                    <p>{{ reminder.description|nl2br }}</p>
                </div>
            {% endif %}

            {% if reminder.relatedPage %}
                <div class="col-1 align-center">
                    <i class="fa fa-link"></i>
                </div>
                <div class="col-11">
                    <a href="{{ path('easyadmin', {"action" : reminder.entityAction, 'entity' : reminder.entityName, 'id': reminder.entityId }) }}">{{ reminder.relatedPage }}</a>
                </div>
            {% endif %}
        </div>
    {% endblock %}


    {% block footer %}

    {% endblock %}

{% endembed %}
