mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
add chill_menu to render easily menu, refs #179
This commit is contained in:
5
Resources/views/Menu/defaultMenu.html.twig
Normal file
5
Resources/views/Menu/defaultMenu.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
<ul>
|
||||
{% for route in routes %}
|
||||
<li><a href="{{ path(route.key, args ) }}" class="{%- if activeRouteKey == route.key -%}active{%- endif -%}">{{ route.label }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
Reference in New Issue
Block a user