{# Renders a KnpMenu as the back link and a row of tabs above the content, for the sections of one record (AdminMenuBuilder::createTeamerMenu()). Dividers are skipped; the item marked `back` by AbstractMenuBuilder::addBackItem() becomes the link above the tabs. #} {% block root %} {% set back = item.children|filter(child => child.extras.back is defined)|first %} {% if back %} {{ icon('arrow-left', 'w-4 h-4 shrink-0') }} {{ back.label|raw }} {% endif %} {% endblock %}