{namespace poi=Newland\Toubiz\Poi\Neos\ViewHelpers}
{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<nav class="tb-tab-navigation">
    <ul class="list-reset p-0">
        <poi:collection.attributes.notAllEmpty
            strings="{
                0: article.flatAttributes.priceSegment,
                1: article.flatAttributes.kitchenStyle,
                2: article.flatAttributes.habitsAndAllergies,
                3: article.flatAttributes.ambiance,
                4: article.flatAttributes.acceptedPayments,
                5: article.flatAttributes.spokenLanguages
            }">

            <li
                class="tb-tab-navigation__item"
                data-target-enhancement
                data-target-enhancement-plugins.0.name="toggle-aria-expanded"
                data-target-enhancement-exclusive-group="tb-tab-navigation-poi-detail"
                data-target-enhancement-targets.0="#target-enhancement-target-info"
                aria-expanded="true"
                aria-haspopup="true">

                {vh:translate(id: 'tabs.information.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
        <poi:collection.attributes.notAllEmpty
            strings="{
                0: article.flatAttributes.services,
                1: article.flatAttributes.capacity
            }">

            <li
                class="tb-tab-navigation__item"
                data-target-enhancement
                data-target-enhancement-plugins.0.name="toggle-aria-expanded"
                data-target-enhancement-exclusive-group="tb-tab-navigation-poi-detail"
                data-target-enhancement-targets.0="#target-enhancement-target-details"
                aria-expanded="false"
                aria-haspopup="true">

                {vh:translate(id: 'tabs.details.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
        <poi:collection.attributes.notAllEmpty
            strings="{
                0: article.flatAttributes.families,
                1: article.flatAttributes.groups
            }">

            <li
                class="tb-tab-navigation__item"
                data-target-enhancement
                data-target-enhancement-plugins.0.name="toggle-aria-expanded"
                data-target-enhancement-exclusive-group="tb-tab-navigation-poi-detail"
                data-target-enhancement-targets.0="#target-enhancement-target-travel"
                aria-expanded="false"
                aria-haspopup="true">

                {vh:translate(id: 'tabs.visit.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
    </ul>
</nav>

<vh:render partial="PointOfInterests/Show/Attributes/Gastronomy/Information" arguments="{_all}"/>
<vh:render partial="PointOfInterests/Show/Attributes/Gastronomy/Details" arguments="{_all}"/>
<vh:render partial="PointOfInterests/Show/Attributes/Gastronomy/Visit" arguments="{_all}"/>
