{% set activeTheme = app.session.get('theme', 'horse') %}
<nav class="main-menu navbar-expand-md navbar-light">
<div class="collapse navbar-collapse show clearfix" id="navbarSupportedContent">
<ul class="navigation navigation-right clearfix navigation-right-side">
<li class="dropdown" style="margin-right: 0px;">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="padding: 23px 0;">
<img src="{{ asset(flag_images_directory ~ app.request.locale[-2:] ~ '.png') }}" width="40px">
</a>
{% include 'front/includes/header_languages.html.twig' with { 'route_name': route_name, 'route_parameters': route_parameters } %}
</li>
{# <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="padding: 17px 0;">
<div style="display: inline-block; background-color: orange; border-radius: 50%; width: 45px;">
<img src="{{ asset('front/assets/images/icon/' ~ activeTheme ~ '.png') }}" style="padding: 5px;">
</div>
</a>
{% set themes = ['horse', 'camel', 'quad'] %}
<ul>
{% for theme in themes %}
{% if theme != activeTheme %}
<li>
<a href="{{ path('change_theme', {'theme': theme}) }}">
<img src="{{ asset('front/assets/images/icon/' ~ theme ~ '.png') }}" alt="{{ theme }}" width="30px">
{{ ('app.theme.' ~ theme)|trans }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</li> #}
</ul>
</div>
</nav>