{% load i18n unfold %} {% block validation_errors %} {% capture as import_error silent %} {% trans "Some rows failed to validate" %} {% trans "Please correct these errors in your data where possible, then reupload it using the form above." %} {% endcapture %}
{% include "unfold/helpers/messages/error.html" with error=import_error %}
{% for field in result.diff_headers %} {% endfor %} {% for row in result.invalid_rows %} {% for field in row.values %} {% endfor %} {% endfor %}
{{ row.number }} {{ row.error_count }}
    {% for field_name, error_list in row.field_specific_errors.items %}
  • {{ field_name }}
      {% for error in error_list %}
    • {{ error }}

    • {% endfor %}
  • {% endfor %} {% if row.non_field_specific_errors %}
  • {% trans "Non field specific" %}
      {% for error in row.non_field_specific_errors %}
    • {{ error }}
    • {% endfor %}
  • {% endif %}
{{ field }}
{% endblock %}