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

<nav class="tb-tab-navigation">
    <ul class="list-reset p-0">
        <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.overview.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
        </li>
        <poi:collection.attributes.notAllEmpty
            arrays="{
                0: article.flatAttributes.properties,
                1: article.flatAttributes.crossCountryTechnique
            }"
            strings="{
                0: article.flatAttributes.equipment,
                1: article.description
            }"
            integers="{
                0: article.flatAttributes.conditionRating,
                1: article.flatAttributes.techniqueRating,
                2: article.flatAttributes.experienceRating,
                3: article.flatAttributes.landscapeRating
            }">

            <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.description.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
        <poi:collection.attributes.notAllEmpty
            strings="{
                0: article.flatAttributes.startingPoint,
                1: article.flatAttributes.publicTransit,
                2: article.flatAttributes.privateTransit
            }">

            <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.travel.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
            </li>
        </poi:collection.attributes.notAllEmpty>
    </ul>
</nav>

<f:render partial="PointOfInterests/Show/Attributes/Tour/Overview" arguments="{_all}"/>
<f:render partial="PointOfInterests/Show/Attributes/Tour/Description" arguments="{_all}"/>
<f:render partial="PointOfInterests/Show/Attributes/Tour/Travel" arguments="{_all}"/>
