Commit 45d03693 authored by Marc Ducobu's avatar Marc Ducobu
Browse files

Debug admin menu

parent 0c4e02af
......@@ -6,18 +6,9 @@
<h1>{{ page_title|trans }}</h1>
<ul class="two tiles admin_tiles">
{% for menu in menu_composer.getRoutesFor(menu) %}
<li class="">
<h3><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></h3>
<p>{{ menu.helper|trans|default('') }}</p>
<p><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></p>
</li>
{% endfor %}
</ul>
{{ chill_menu('admin', {
'layout': 'ChillMainBundle::Menu/admin.html.twig',
}) }}
{% endblock %}
\ No newline at end of file
<ul>
{% for route in routes %}
<li><a href="{{ path(route.key, args ) }}">{{ route.label|trans }}</a></li>
{% endfor %}
</ul>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment