{% load i18n admin_urls bootstrap4 %}
<div class="submit-row well">
{% if show_save %}<button type="submit" class="btn btn-primary" name="_save">{% trans 'Save' %}</button>{% endif %}
{% if show_delete_link %}
    {% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
    <p class="deletelink-box"><a href="{% add_preserved_filters delete_url %}" class="btn btn-danger">{% trans "Delete" %}</a></p>
{% endif %}
    {% if show_save_as_new %}<button type="submit" class="btn btn-default" name="_saveasnew">{% trans 'Save as new' %}</button>{% endif %}
    {% if show_save_and_add_another %}<button type="submit" class="btn btn-default" name="_addanother">{% trans 'Save and add another' %}</button>{% endif %}
    {% if show_save_and_continue %}<button type="submit" class="btn btn-default" name="_continue">{% trans 'Save and continue editing' %}</button>{% endif %}
</div>
