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

    {% block id %}modal-reminder{% endblock %}
    {% block title %}{{ "action.reminder.add"|trans }}{% endblock %}

    {% block form_start %}
        {{ form_start(form, {'attr': { 'id' : 'reminderForm'}}) }}
        {% form_theme form '@LcShop/backend/form/custom_modal_bootstrap_4.html.twig' %}
    {% endblock %}

    {% block content %}
        <div class="col">
            {{ form_row(form.title) }}
            {{ form_row(form.description) }}
            {{ form_row(form.dateReminder) }}
            {{ form_row(form.users) }}
            {{ form_row(form.entityName) }}
            {{ form_row(form.entityId) }}
        </div>
    {% endblock %}

    {% block footer %}
        {{ parent() }}
        <button type="button" class="btn btn-primary  btn-save" >{{ 'action.add'|trans }}</button>
        {{ form_rest(form) }}
    {% endblock %}

    {% block form_end %}
        {{ form_end(form) }}
    {% endblock %}

{% endembed %}
