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

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

        <table class="tb-table">
            <f:if condition="{article.flatAttributes.cureLabel}">
                <tr>
                    <th>
                        <vh:translate
                            id="property.attribute.cureLabel"
                            package="Newland.Toubiz.Poi.Neos"
                            source="Models/Article"/>

                    </th>
                    <td>
                        <vh:render
                            partial="PointOfInterests/Attribute"
                            arguments="{
                                type: 'text',
                                attribute: article.flatAttributes.cureLabel
                            }"/>
                    </td>
                </tr>
            </f:if>
            <tr>
                <th>
                    <vh:translate
                        id="property.attribute.cureAltitude"
                        package="Newland.Toubiz.Poi.Neos"
                        source="Models/Article"/>

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

                </td>
            </tr>
            <tr>
                <th>
                    <vh:translate
                        id="property.attribute.cureClimate"
                        package="Newland.Toubiz.Poi.Neos"
                        source="Models/Article"/>

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