{% load i18n admin_urls karni_admin %}{% comment %} The change form's fixed bar. Save is the primary button and comes first, then Save and add another, Save and continue editing, Cancel, and Delete apart on the right. Each button shows only when the user's permissions allow it, so a read-only page has Cancel only. {% endcomment %}{% karni_submit as submit %}
{% if submit.show_save %}{% endif %} {% if submit.show_save_and_add_another %}{% endif %} {% if submit.show_save_and_continue %}{% endif %} {% if submit.show_save_as_new %}{% endif %} {% for action in actions_submit_line %}{% endfor %} {% if not is_popup %}{% url opts|admin_urlname:'changelist' as karni_list_url %}{% add_preserved_filters karni_list_url as karni_cancel %}{% translate "Cancel" %}{% endif %} {% if submit.show_delete_link and original %}{% url opts|admin_urlname:'delete' original.pk|admin_urlquote as karni_delete_url %}{% add_preserved_filters karni_delete_url as karni_delete %}{% translate "Delete" %}{% endif %}