{namespace form=Neos\Form\ViewHelpers}
<f:layout name="Neos.Form:Field" />
<f:section name="field">
	<label for="{element.uniqueIdentifier}" class="{element.properties.elementClassAttribute}">
		<f:form.checkbox property="{element.identifier}"
                         id="{element.uniqueIdentifier}"
                         class="{element.properties.elementClassAttribute}"
                         value="{element.properties.value}"
                         errorClass="{element.properties.elementErrorClassAttribute}" />

		<span class="c-neos-text">{element -> form:translateElementProperty(property: 'label') -> f:format.raw()}
            <f:if condition="{element.required}">
                <f:render partial="Neos.Form:Field/Required" />
            </f:if>
        </span>
	</label>
</f:section>
