1477fb8198c133d3d679b765e6e3004a7cb3d83e
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Partials / Compatibility / Show / ContainerElements / Radiogroup.html
1 <f:if condition="{model.showElement}">
2 <f:then>
3 <f:if condition="{model.layout.noFieldsetTag}">
4 <f:then>
5 <f:format.raw>{model.layout.elementOuterWrap.0}</f:format.raw>
6 <f:format.raw>{model.layout.containerInnerWrap.0}</f:format.raw>
7 <f:for each="{model.childElements}" as="element">
8 <f:render partial="{themeName}/Show/{element.partialPath}" arguments="{model: element, themeName: themeName}" />
9 </f:for>
10 <f:format.raw>{model.layout.containerInnerWrap.1}</f:format.raw>
11 <f:format.raw>{model.layout.elementOuterWrap.1}</f:format.raw>
12 </f:then>
13 <f:else>
14 <f:format.raw>{model.layout.elementOuterWrap.0}</f:format.raw>
15 <fieldset
16 <f:for each="{model.htmlAttributes}" as="htmAttributeValue" key="htmAttributeKey">
17 {htmAttributeKey}="{htmAttributeValue}"
18 </f:for>
19 >
20 <f:if condition="{model.additionalArguments.legend}">
21 <legend>{model.additionalArguments.legend}</legend>
22 </f:if>
23
24 <f:format.raw>{model.layout.containerInnerWrap.0}</f:format.raw>
25 <f:for each="{model.childElements}" as="element">
26 <f:render partial="{themeName}/Show/{element.partialPath}" arguments="{model: element, themeName: themeName}" />
27 </f:for>
28 <f:format.raw>{model.layout.containerInnerWrap.1}</f:format.raw>
29 </fieldset>
30 <f:format.raw>{model.layout.elementOuterWrap.1}</f:format.raw>
31 </f:else>
32 </f:if>
33 </f:then>
34 <f:else>
35 <f:for each="{model.childElements}" as="element">
36 <f:render partial="{themeName}/Show/{element.partialPath}" arguments="{model: element, themeName: themeName}" />
37 </f:for>
38 </f:else>
39 </f:if>