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

<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
    }">

    <div
        id="target-enhancement-target-cure"
        class="tb-tab-navigation__target"
        data-target-enhancement-subject>

        <table class="tb-table">
            <tr>
                <th>
                    <vh:translate
                        id="property.attribute.cureScreening"
                        package="Newland.Toubiz.Poi.Neos"
                        source="Models/Article"/>

                </th>
                <td>
                    <vh:render
                        partial="PointOfInterests/Attribute"
                        arguments="{
                            type: 'text',
                            attribute: article.flatAttributes.cureScreening
                        }"/>

                    <poi:collection.attributes.notAllEmpty
                        strings="{
                            0: article.flatAttributes.cureCompactCure
                        }">

                        <h4 class="mt-2">
                            <vh:translate
                                id="property.attribute.cureCompactCure"
                                package="Newland.Toubiz.Poi.Neos"
                                source="Models/Article"/>
                        </h4>


                        <vh:render
                            partial="PointOfInterests/Attribute"
                            arguments="{
                                type: 'text',
                                attribute: article.flatAttributes.cureCompactCure
                            }"/>
                    </poi:collection.attributes.notAllEmpty>
                </td>
            </tr>
            <tr>
                <th>
                    <vh:translate
                        id="property.attribute.cureTherapy"
                        package="Newland.Toubiz.Poi.Neos"
                        source="Models/Article"/>

                </th>
                <td>
                    <poi:collection.attributes.notAllEmpty
                        strings="{
                            0: article.flatAttributes.cureTherapy
                        }">
                        <h4 class="mt-2">
                            <vh:translate
                                id="property.attribute.cureTherapy"
                                package="Newland.Toubiz.Poi.Neos"
                                source="Models/Article"/>
                        </h4>
                        <vh:render
                            partial="PointOfInterests/Attribute"
                            arguments="{
                                type: 'text',
                                attribute: article.flatAttributes.cureTherapy
                            }"/>
                    </poi:collection.attributes.notAllEmpty>

                    <poi:collection.attributes.notAllEmpty
                        strings="{
                            0: article.flatAttributes.cureBaths
                        }">

                        <h4 class="mt-2">
                            <vh:translate
                                id="property.attribute.cureBaths"
                                package="Newland.Toubiz.Poi.Neos"
                                source="Models/Article"/>
                        </h4>
                        <vh:render
                            partial="PointOfInterests/Attribute"
                            arguments="{
                                type: 'text',
                                attribute: article.flatAttributes.cureBaths
                            }"/>
                    </poi:collection.attributes.notAllEmpty>

                    <poi:collection.attributes.notAllEmpty
                        strings="{
                            0: article.flatAttributes.cureMassage
                        }">
                        <h4 class="mt-2">
                            <vh:translate
                                id="property.attribute.cureMassage"
                                package="Newland.Toubiz.Poi.Neos"
                                source="Models/Article"/>
                        </h4>
                        <vh:render
                            partial="PointOfInterests/Attribute"
                            arguments="{
                                type: 'text',
                                attribute: article.flatAttributes.cureMassage
                            }"/>
                    </poi:collection.attributes.notAllEmpty>

                    <poi:collection.attributes.notAllEmpty
                        strings="{
                            0: article.flatAttributes.cureWholesome
                        }">
                        <h4 class="mt-2">
                            <vh:translate
                                id="property.attribute.cureWholesome"
                                package="Newland.Toubiz.Poi.Neos"
                                source="Models/Article"/>
                        </h4>
                        <vh:render
                            partial="PointOfInterests/Attribute"
                            arguments="{
                                type: 'text',
                                attribute: article.flatAttributes.cureWholesome
                            }"/>
                    </poi:collection.attributes.notAllEmpty>
                </td>
            </tr>
            <poi:collection.attributes.notAllEmpty
                strings="{
                    0: article.flatAttributes.cureVarious
                }">
                <tr>
                    <th>
                        <vh:translate
                            id="property.attribute.cureVarious"
                            package="Newland.Toubiz.Poi.Neos"
                            source="Models/Article"/>

                    </th>
                    <td>
                        <vh:render
                            partial="PointOfInterests/Attribute"
                            arguments="{
                                type: 'text',
                                attribute: article.flatAttributes.cureVarious
                            }"/>
                    </td>
                </tr>
            </poi:collection.attributes.notAllEmpty>
        </table>
    </div>
</poi:collection.attributes.notAllEmpty>
