Skip to content

Commit

Permalink
Merge pull request #73 from neos/kitsunet-patch-1
Browse files Browse the repository at this point in the history
TASK: Use correct validation `ResultsViewHelper`
  • Loading branch information
kdambekalns committed Apr 17, 2018
2 parents 3fa9fbc + df283c1 commit c0b49fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Form/Layouts/Field.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{namespace form=TYPO3\Form\ViewHelpers}
<f:form.validationResults for="{element.identifier}">
<f:validation.results for="{element.identifier}">
<div class="clearfix{f:if(condition: validationResults.flattenedErrors, then: ' error')}"<f:if condition="{element.rootForm.renderingOptions.previewMode}"> data-element="{form:form.formElementRootlinePath(renderable:element)}"</f:if>>
<label for="{element.uniqueIdentifier}">{element.label -> f:format.nl2br()}<f:if condition="{element.required}"><f:render partial="TYPO3.Form:Field/Required" /></f:if></label>
<div class="{element.properties.containerClassAttribute}">
Expand All @@ -17,4 +17,4 @@
</f:if>
</div>
</div>
</f:form.validationResults>
</f:validation.results>

0 comments on commit c0b49fe

Please sign in to comment.