{% block submit_row %} {% if show_save %}{% endif %} {% if show_save_as_new %}{% endif %} {% if show_save_and_add_another %}{% endif %} {% if show_save_and_continue %}{% endif %} {% if show_close %} {% set changelist_url = url(opts|admin_urlname('changelist'), silent=True) %} {{ gettext('Close') }} {% endif %} {% if show_delete_link and original %} {% set delete_url = url(opts|admin_urlname('delete'), original.pk|admin_urlquote, silent=True) %} {{ gettext("Delete") }} {% endif %} {% endblock %}