<html
    xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
    data-namespace-typo3-fluid="true"
>
<f:layout name="Preview"/>
<f:section name="Header">
    <be:link.editRecord uid="{data.uid}" table="{data.mainType}">
        <f:if condition="{data.header}">
            <f:then><strong>{data.header}</strong></f:then>
        </f:if>
    </be:link.editRecord>
</f:section>
<f:section name="Content">
    <f:if condition="{data.bodytext}">
        <p>
            <f:format.crop maxCharacters="80">
              <f:format.stripTags>{data.bodytext}</f:format.stripTags>
            </f:format.crop>
        </p>
    </f:if>
</f:section>
</html>
