{% extends "admin/base_site.html" %} {% load i18n staticfiles admin_urls admin_static admin_list %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block extrahead %} {{block.super}} {{form.media}} {% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if form.errors %}

{% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

{% endif %} {% block field_sets %}

{{page_title}}

{% for field in form %}
{% if not field.is_readonly %}{{ field.errors }}{% endif %} {% if field.field.is_checkbox %} {{ field }} {% else %} {% if field.is_readonly %}

{{ field.contents }}

{% else %} {% if field.field.is_file_upload %}

{{field}}

{% else %} {{ field }} {% endif %} {% endif %} {% endif %} {% if field.field.help_text %}

{{ field.field.help_text|safe }}

{% endif %}
{% endfor %}
{% endblock %} {% block submit_buttons_bottom %}
{% endblock %}
{% if report %}

{% trans "Import complete" %}

{% trans "Back to data records" %}

{% for line in report %} {% if forloop.first %} {% for item in line %}{% endfor %} {% else %} {% for item in line %}{% endfor %} {% endif %} {% endfor %}
{{item}}{{item}}
{% endif %}
{% endblock %}