{% extends 'base.html.twig' %} {# Sidebar layout of the E&P corporate design (ep-corporate-design, layout_sidebar.html.twig): the main menu in a left sidebar from lg up, below that in a drawer behind the "Menü" button. The area layouts fill `main_menu` and `mobile_menu` with the same KnpMenu menu. #} {% block body %}
{% embed '_partials/_header.html.twig' with { home_path: path(app.user ? app.user.defaultRoute : 'app_security_login'), header_width: 'mx-auto max-w-screen-2xl px-4 lg:px-8', } %} {% block header_end %} {% if app.user %}
{% include '_partials/_user_menu.html.twig' %}
{% endif %} {% endblock %} {% endembed %}
{% block content %}{% endblock %}
{# fills the dialog, so only clicks beside the drawer reach the dialog element itself #}
{% endblock %}