{% load admin_modify %}
{% load i18n admin_urls %}
{% block submit-row %}
    {% if is_popup %}
        <div class="p-3 card bg-base-100 hidden grid-cols-2 md:grid gap-3">
            {% if show_save %}
                <button type="submit" class="btn-sm btn-primary px-4 btn rounded-md legitRipple" name="_save">
                    {% translate 'Save' %}
                    <i class="fas fa-save px-1"></i>
                </button>
            {% endif %}
            <button onclick="window.parent.close_mod