Skip to content
Snippets Groups Projects
Unverified Commit 8caf2ea7 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix template.

parent 9b94f34e
No related branches found
No related tags found
1 merge request!18Fix template.
......@@ -9,15 +9,17 @@
</li>
{% endif %}
{% if item.submenu %}
<a class="nav-link dropdown-toggle" data-toggle="dropdown" id="navbarDropdown" aria-expanded="false" role="button" aria-haspopup="true" href="#">
{{ item.name }}
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
{% for menu in item.submenu %}
<a class="dropdown-item" href="{{ menu.url }}">
{{ menu.name }}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" id="navbarDropdown" aria-expanded="false" role="button" aria-haspopup="true" href="#">
{{ item.name }}
</a>
{% endfor %}
</div>
{% for menu in item.submenu %}
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ menu.url }}">
{{ menu.name }}
</a>
</div>
{% endfor %}
</li>
{% endif %}
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment