{% load i18n admin2_tags %}

<div class="row">
    <div class="col-md-12 save_btns">
        {% if object %}
            <a class="btn btn-sm btn-danger" href="{% url view|admin2_urlname:'delete' pk=object.pk %}">
                <i class="fa fa-remove"></i> {% trans "Delete" %}
            </a>
        {% endif %}
        <div class="pull-right">
            <button class="btn btn-sm btn-default" type="submit" name="_addanother">
                {% trans "Save and add another" %}
            </button>
            <button class="btn btn-sm btn-default" type="submit" name="_continue">
                {% trans "Save and continue editing" %}
            </button>
            <button class="btn btn-sm btn-success" type="submit" name="_save">
                {% trans "Save" %}
            </button>
        </div>
    </div>
</div>
