#70069EXT:form - Avoid PHP warnings when using old .layout functions
Description
The following issues cause PHP warnings:
- setting a layout for label without having the <error></error> tag inside
label (
<label><labelvalue /><mandatory /></label>
)
- #1: PHP Warning: strpos(): Empty needle in /typo3/cms/typo3/sysext/form/Classes/Utility/CompatibilityLayerUtility.php line 267 (More information)
submit (
<div class="form-group">
<div class="col-sm-offset-3 col-sm-9">
<input class="btn btn-primary" />
</div>
</div>
)