{% include 'administration/navigation.html.twig' %}
{% block navigation %}{% endblock %}
{% include 'administration/_admin_breadcrumb.html.twig' with { items: admin_breadcrumb_items(app.request, breadcrumb|default(null), admin_breadcrumb|default(null)) } %}
{% for message in app.session.flashbag.get('success') %}
{{ message|trans }}
{% endfor %}
{% for message in app.session.flashbag.get('warning') %}
{{ message|trans }}
{% endfor %}
{% for message in app.session.flashbag.get('error') %}
{{ message|trans }}
{% endfor %}
{% if app.user is defined and app.user and app.user.hasAdminRole and not app.user.hasAnySecondFactorEnabled and not (app.request.pathInfo starts with '/admin/security/two-factor') %}
{% endif %}
{% if get_version() starts with 'dev' %}
{{ 'admin.dev_warning'|trans }}
{% endif %}
{% block body %}
{% endblock %}
{# Ohne defer, damit Listener vor synchronen Skripten (z. B. ajax-forms) registriert werden #}
{{ encore_entry_script_tags('admin_editors', null, '_default', { defer: false }) }}