{% if ledger.errors %} {% for error in ledger.errors %} {% with link=url_for_source(file_path=error.source['filename'], line=error.source['lineno']) %} {% endwith %} {% endfor %}
{{ _('File') }} {{ _('Line') }} {{ _('Error') }}
{{ error.source['filename'] }} {{ error.source['lineno'] }} {{ error.message|format_errormsg|safe }}
{% else %}

{{ _('No errors.') }}

{% endif %}