pup %}
                        {% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
                        <a href="{% add_preserved_filters delete_url %}{% if can_delete_popup %}?_popup=1{% endif %}"
                           class="btn-sm btn-block btn-error mt-1 btn rounded-md place-self-end">
                            {% translate "Delete" %}
                            <i class="fa fa-xmark"></i>
                        </a>
                    {% endif %}
                