{% set currentCity = '' %}
<span class="navbar-main--title">{{ 'app.global.destinys'|trans }}</span>
<div class="navbar-main--wrapper-items">
{% for hotel in hotels %}
{% if currentCity != hotel.location.class %}
<li>
<a class="navbar-main--item js-submenu-open" data-dest="submenu-{{ hotel.location.class }}"
href="{{ url(hotel.location) }}">{{ hotel.location.class }}
<span
class="navbar-main--icon-arrow">{% include 'partials/global/svg/icon-arrow-artiem.svg.twig' %}</span>
</a>
{% set currentCity = hotel.location.class %}
</li>
{% endif %}
{% endfor %}
</div>