a22276fd4f9a4beae5ec7e6b7f33ea442b295c59
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Partials / Default / Confirmation / FlatElements / Checkbox.html
1 <f:if condition="{model.showElement}">
2 <f:if condition="{model.additionalArguments.checked} == 'checked'">
3 <li class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}">
4 <label>{model.additionalArguments.label}</label>
5 </li>
6 </f:if>
7 </f:if>
8
9 <f:if condition="{model.additionalArguments.checked} == 'checked'">
10 <f:if condition="{model.additionalArguments.multiple}">
11 <f:then>
12 <f:form.hidden
13 class="{model.additionalArguments.class}"
14 dir="{model.additionalArguments.dir}"
15 id="{model.additionalArguments.id}"
16 lang="{model.additionalArguments.lang}"
17 style="{model.additionalArguments.style}"
18 title="{model.additionalArguments.title}"
19 accesskey="{model.additionalArguments.accesskey}"
20 tabindex="{model.additionalArguments.tabindex}"
21 onclick="{model.additionalArguments.onclick}"
22
23 name="{model.additionalArguments.prefix}[{model.additionalArguments.name}][{model.name}]"
24 value="<f:if condition='{model.additionalArguments.value}'><f:then>{model.additionalArguments.value}</f:then><f:else>{model.additionalArguments.name}-{model.elementCounter}</f:else></f:if>"
25
26 additionalAttributes="{model.htmlAttributes}"
27 />
28 </f:then>
29 <f:else>
30 <f:form.hidden
31 class="{model.additionalArguments.class}"
32 dir="{model.additionalArguments.dir}"
33 id="{model.additionalArguments.id}"
34 lang="{model.additionalArguments.lang}"
35 style="{model.additionalArguments.style}"
36 title="{model.additionalArguments.title}"
37 accesskey="{model.additionalArguments.accesskey}"
38 tabindex="{model.additionalArguments.tabindex}"
39 onclick="{model.additionalArguments.onclick}"
40
41 name="{model.additionalArguments.prefix}[{model.additionalArguments.name}]"
42 value="<f:if condition='{model.additionalArguments.value}'><f:then>{model.additionalArguments.value}</f:then><f:else>{model.additionalArguments.name}-{model.elementCounter}</f:else></f:if>"
43
44 additionalAttributes="{model.htmlAttributes}"
45 />
46 </f:else>
47 </f:if>
48 </f:if>