templates/navbar.twig line 1

  1. <nav class="navbar navbar-expand-lg navbar-dark bg-primary px-3">
  2.   <a class="navbar-brand" href="#">EHPA API</a>
  3.   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  4.     <span class="navbar-toggler-icon"></span>
  5.   </button>
  6.   <div class="collapse navbar-collapse" id="navbarSupportedContent">
  7.     <ul class="navbar-nav mr-auto">
  8.       <li class="nav-item dropdown">
  9.         <a class="nav-link dropdown-toggle {% if app.request.attributes.get('_route') starts with 'app_documentation' %}active{% endif %}" href="{{ path('app_documentation_index') }}" data-bs-toggle="dropdown">
  10.         {% trans %}documentation{% endtrans %}
  11.         </a>
  12.         <div class="dropdown-menu">
  13.             <a class="dropdown-item" href="{{ path('app_documentation_index', {service: 'ql'}) }}">Quality Label</a>
  14.           </div>
  15.       </li>
  16.     </ul>
  17.   </div>
  18. </nav>