diff --git a/biscuit/core/templates/bootstrap4-navbar.html b/biscuit/core/templates/bootstrap4-navbar.html index fe49b9b8147b3562b3a3ddea6e7d0220e8835e66..633ab656b942390bb314213c5ee1318b0644bf33 100644 --- a/biscuit/core/templates/bootstrap4-navbar.html +++ b/biscuit/core/templates/bootstrap4-navbar.html @@ -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 %}