{% extends 'admin/change_form.html' %}
{% load i18n admin_urls admin_modify %}

{% block submit_buttons_bottom %}
  {% submit_row %}
  <p>
    <a href="{% if original.object_id %}{% url 'admin:revert_changes' original.pk %}{% else %}{% url 'admin:revert_revision' original.pk %}{% endif %}">
      {% trans "Revert" %}
    </a>
  </p>
{% endblock %}