{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.oil,
                    1: article.flatAttributes.vegetables,
                    2: article.flatAttributes.drinks,
                    3: article.flatAttributes.meats,
                    4: article.flatAttributes.fish,
                    5: article.flatAttributes.milk,
                    6: article.flatAttributes.cereals,
                    7: article.flatAttributes.crafts,
                    8: article.flatAttributes.shopping,
                    9: article.flatAttributes.seasonals
            }">

            <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
            arrays="{
                0: article.flatAttributes.services,
                1: article.flatAttributes.awards,
                2: article.flatAttributes.regionalAwards
            }">

            <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>
    </ul>
</nav>
<vh:render partial="PointOfInterests/Show/Attributes/DirectMarketer/Information" arguments="{_all}"/>
<vh:render partial="PointOfInterests/Show/Attributes/DirectMarketer/Details" arguments="{_all}"/>
