<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bear="http://typo3.org/ns/AmadeusAgentur/Bear/ViewHelpers" data-namespace-typo3-fluid="true">

<f:if condition="{data.tx_gridelements_container} == 0 && {data.frame_class} !== none">
<div id="c{data.uid}" class="section{data.tx_amdsbear_context_classes -> bear:classSelect()}{f:if(condition: data.tx_amdsbear_extra_class, then: ' {data.tx_amdsbear_extra_class}')}">
    <div class="{f:if(condition: '{data.tx_amdsbear_container}', then: 'container-fluid', else: 'container')}{f:if(condition: data.space_before_class, then: ' space-before-{data.space_before_class}')}{f:if(condition: data.space_after_class, then: ' space-after-{data.space_after_class}')}">
        <div class="ce ce-{data.frame_class} ce-type-{data.CType} ce-layout-{data.layout}">
</f:if>

<f:if condition="{data.tx_gridelements_container} !== 0 && {data.frame_class} !== none">
<div id="c{data.uid}" class="ce ce-{data.frame_class} ce-type-{data.CType} ce-layout-{data.layout}{f:if(condition: data.space_before_class, then: ' space-before-{data.space_before_class}')}{f:if(condition: data.space_after_class, then: ' space-after-{data.space_after_class}')} {f:if(condition: data.tx_amdsbear_extra_class, then: ' {data.tx_amdsbear_extra_class}')}">
</f:if>

