{% load i18n admin_static humanize %}
{{ hidden_form }}
{% with num_errors=parser.get_errors|length %} {% if num_errors > 0 %}

{{ num_errors|intcomma }} Error{{ num_errors|pluralize }}

{% endif %} {% endwith %} {% if parse_errors %}

Parsing errors can only be fixed by editing the actual file.

{% for line,error,data in parser.get_errors %} {% if line not in fixable_lines %} {% endif %} {% endfor %}
Parsing Errors
Yellow Exclamation Mark {{ error|safe }}
{% if data %}{{ data|join:" | " }}{% endif %}

{% endif %} {% if allow_validate %}

To fix an error:

  1. Check the box on the left for every row you wish to fix.
  2. Enter the corrected data.
  3. When done fixing errors, click the {% trans 'Validate Selected Changes' %} button below.
{% for header in error_headers %} {% endfor %} {% for err_form in error_forms %} {% for field in err_form %} {% endfor %} {% endfor %}
{{ header }}
Yellow Exclamation Mark {{ err_form.error_message|safe }}
{% if field.errors %}{{ field.errors }}{% endif %} {{ field }}
{% endif %}