{% extends "base.html" %} {% from "macros.html" import icon %} {% block title %}{{ error_title }}{% endblock %} {% block content %}
{# Error icon with color based on error type #}
{% if error_code == 403 %} {{ icon('shield-off', 48) }} {% elif error_code == 404 %} {{ icon('search', 48) }} {% elif error_code == 500 %} {{ icon('alert-triangle', 48) }} {% else %} {{ icon('x-circle', 48) }} {% endif %}
{# Error code badge #}
{{ t('Error') }} {{ error_code }}
{# Error title #}

{{ error_title }}

{# Error message #}

{{ error_message }}

{# Actions #} {# Additional help text #} {% if error_code == 500 %}
{{ icon('info', 16) }} {{ t('If the problem persists, please contact your administrator.') }}
{% endif %}
{% endblock %}