{% extends "admin/change_form.html" %} {% load i18n %} {% block before_content %} {% if change %}
{% csrf_token %}
{% endif %} {{ block.super }} {% endblock %} {% block object-tools-items %} {% if change and has_pdf %}
  • {% trans "Download PDF invoice" %}
  • {% endif %}
  • {% trans "Re-send order email" %}
  • {{ block.super }} {% endblock %}