{% load i18n admin_urls %}

{% if show_save %}
  <input type="submit" value="{% trans 'Save' %}" class="btn btn-info btn-lg btn-block" name="_save" />
{% endif %}
{% if show_save_as_new %}
  <input type="submit" value="{% trans 'Save as new' %}" name="_saveasnew" class="btn btn-success btn-lg btn-block" />
{% endif %}
{% if show_save_and_add_another %}
  <input type="submit" value="{% trans 'Save and add another' %}" name="_addanother" class="btn btn-success btn-lg btn-block" />
{% endif %}
{% if show_save_and_continue %}
  <input type="submit" value="{% trans 'Save and continue editing' %}" name="_continue" class="btn btn-success btn-lg btn-block" />
{% endif %}
{% if show_delete_link %}
  {% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
  <a href="{% add_preserved_filters delete_url %}" class="btn btn-danger btn-lg btn-block">{% trans "Delete" %}</a>
{% endif %}