feat: add form design
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:formvh="http://typo3.org/ns/TYPO3/CMS/Form/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<formvh:renderRenderable renderable="{element}">
|
||||
<div class="{f:if(condition: element.properties.elementClassAttribute, then: '{element.properties.elementClassAttribute}')} grid-cols-{f:if(condition: '{element.properties.gridColumnClassAutoConfiguration.gridSize}', then: '{element.properties.gridColumnClassAutoConfiguration.gridSize}', else: '12')}">
|
||||
<f:for each="{element.elements}" as="element">
|
||||
<div class="{formvh:gridColumnClassAutoConfiguration(element: element)}">
|
||||
<f:render partial="{element.templateName}" arguments="{element: element}" />
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</formvh:renderRenderable>
|
||||
</html>
|
||||
Reference in New Issue
Block a user