{namespace poi=Newland\Toubiz\Poi\Neos\ViewHelpers}
{namespace vh=Newland\NeosViewHelpers\ViewHelpers}
<poi:collection.attributes.notAllEmpty
    strings="{
        0: article.flatAttributes.cureLabel,
        1: article.flatAttributes.cureAltitude,
        2: article.flatAttributes.cureClimate,
        3: article.flatAttributes.cureCures,
        4: article.flatAttributes.cureAilmentsTag,
        5: article.flatAttributes.cureAilments,
        6: article.flatAttributes.cureScreening,
        7: article.flatAttributes.cureTherapy,
        8: article.flatAttributes.cureBaths,
        9: article.flatAttributes.cureMassage,
        10: article.flatAttributes.cureWholesome,
        11: article.flatAttributes.cureCompactCure,
        12: article.flatAttributes.cureVarious

    }">
    <div class="mb-8">
        <nav class="tb-tab-navigation">
            <ul class="list-reset p-0">
                <poi:collection.attributes.notAllEmpty
                    strings="{
                        0: article.flatAttributes.cureLabel,
                        1: article.flatAttributes.cureAltitude,
                        2: article.flatAttributes.cureClimate
                    }">

                    <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-spatown"
                        aria-expanded="true"
                        aria-haspopup="true">

                        {vh:translate(id: 'tabs.spatown.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
                    </li>
                </poi:collection.attributes.notAllEmpty>
                <poi:collection.attributes.notAllEmpty
                    arrays="{
                        0: article.flatAttributes.cureCures,
                        1: article.flatAttributes.cureAilmentsTag,
                        2: article.flatAttributes.cureAilments
                    }">

                    <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-ailments"
                        aria-expanded="false"
                        aria-haspopup="true">

                        {vh:translate(id: 'tabs.ailments.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
                    </li>
                </poi:collection.attributes.notAllEmpty>
                <poi:collection.attributes.notAllEmpty
                    strings="{
                        0: article.flatAttributes.cureScreening,
                        1: article.flatAttributes.cureTherapy,
                        2: article.flatAttributes.cureBaths,
                        3: article.flatAttributes.cureMassage,
                        4: article.flatAttributes.cureWholesome,
                        5: article.flatAttributes.cureCompactCure,
                        6: article.flatAttributes.cureVarious
                    }">

                    <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-cure"
                        aria-expanded="false"
                        aria-haspopup="true">

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

        <vh:render partial="PointOfInterests/Show/Attributes/SpaTown/SpaTown" arguments="{_all}"/>
        <vh:render partial="PointOfInterests/Show/Attributes/SpaTown/Ailments" arguments="{_all}"/>
        <vh:render partial="PointOfInterests/Show/Attributes/SpaTown/CureRehab" arguments="{_all}"/>

    </div>
</poi:collection.attributes.notAllEmpty>
