{% extends "admin/import_export/base.html" %} {% load i18n %} {% load admin_urls %} {% load import_export_tags %} {% load static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block breadcrumbs_last %} {% trans "Import" %} {% endblock %} {% block content %} {% if confirm_form %}
{% csrf_token %}

{% trans "Below is a preview of data to be imported. If you are satisfied with the results, click 'Confirm import'" %}

{% else %}
{{ form }}
{% csrf_token %}
{% endif %} {% if table %}

{% trans "Preview" %}

{% for header in table.headers %} {% endfor %} {% for row in table.rows %} {% for value in row %} {% endfor %} {% endfor %}
{{ header }}
{% trans "New" %} {{ value }}
{% endif %} {% endblock %}