Commit 867ed2d7 authored by David Steeb's avatar David Steeb
Browse files

[TASK] Adjust field wrapper template to be more readable

parent 36563fa6
Pipeline #10428 passed with stages
in 15 seconds
......@@ -4,7 +4,7 @@
data-namespace-typo3-fluid="true"
>
<f:form.validationResults for="{element.rootForm.identifier}.{element.identifier}">
<div class="b_form__group{f:if(condition: '{validationResults.errors.0}', then: ' b_form__group--has-error')}">
<div class="b_form__group {f:if(condition: '{validationResults.errors.0}', then: 'b_form__group--has-error')}">
<f:if condition="{doNotShowLabel} != 1">
<label class="b_form__label" for="{element.uniqueIdentifier}">{formvh:translateElementProperty(element: element, property: 'label')}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></label>
</f:if>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment