Files
linkding/bookmarks/templates/shared/error_list.html
Sascha Ißbrücker ffc1a69085 Template improvements
2026-01-01 13:40:57 +01:00

11 lines
368 B
HTML

{% load i18n %}
{# Force rendering validation errors in English language to align with the rest of the app #}
{% language 'en-us' %}
{% if errors %}
<ul class="{{ error_class }}"
{% if errors.field_id %}id="{{ errors.field_id }}_error"{% endif %}>
{% for error in errors %}<li>{{ error }}</li>{% endfor %}
</ul>
{% endif %}
{% endlanguage %}