{% load i18n %} {% load cove_tags %}
{% trans 'Error Description' %} | {% trans 'Error Count' %} | {% trans 'First 3 Examples' %} | {% trans 'Location of first 3 errors' %} | {% if file_type == 'xlsx' or file_type == 'csv' or file_type == 'ods' %}{% trans 'Spreadsheet Location of first 3 errors' %} | {% endif %}
---|---|---|---|---|
{% if error.message_safe %} {# Still used by BODS cove #} {{ error.message_safe | safe }} {% else %} {# Used by other coves and is the preferred way to do this going forward #} {{ error | html_error_msg }} {% endif %} {% if error.message_type in common_error_types %} {% trans "(more info)" %} {% endif %} {% if 'schema_title' in error %}{{ error.schema_title }}{{ error.schema_description_safe | safe }} |
{% if values|length > 3 %} {{values|length}} {% else %} {{values|length}} {% endif %} |
|
|
{% if file_type == 'xlsx' or file_type == 'csv' or file_type == 'ods' %}
|
{% endif %}