{% extends "admin/base_site.html" %} {% load i18n admin_urls static %} {% block extrahead %} {{ block.super }} {{ media }} {% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-confirmation{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %} {% if add %}

{% blocktrans with escaped_object=object %}Are you sure you want to add the {{ model_name }}?{% endblocktrans %}

{% if changed_data %}

Confirm Values:

{% for field, values in changed_data.items %} {% endfor %}
{{ field }}:{{ values.1 }}
{% csrf_token %} {% endif %} {% else %}

{% blocktrans with escaped_object=object %}Are you sure you want to change the {{ model_name }} "{{ object_name }}"?{% endblocktrans %}

{% if changed_data %}

Confirm Values:

{% for field, values in changed_data.items %} {% endfor %}
FieldCurrent ValueNew Value
{{ field }}{{ values.0 }}{{ values.1 }}
{% endif %} {% csrf_token %} {% endif %}
{% for key, value in form_data.items %} {% endfor %} {% if is_popup %}{% endif %} {% if to_field %}{% endif %}
{% endblock %}