1c7225bfba61e437b502d687660d8ccfacb6ba35
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Partials / Compatibility / Show / FlatElements / Input.html
1 <f:if condition="{model.showElement}">
2 <f:format.raw>{model.layout.elementOuterWrap.0}</f:format.raw>
3 <f:if condition="{model.layout.labelPosition} == 'before'">
4 <f:format.raw>{model.layout.label}</f:format.raw>
5 </f:if>
6
7 <f:form.textfield
8 class="{model.additionalArguments.class}"
9 dir="{model.additionalArguments.dir}"
10 id="{model.additionalArguments.id}"
11 lang="{model.additionalArguments.lang}"
12 style="{model.additionalArguments.style}"
13 title="{model.additionalArguments.title}"
14 accesskey="{model.additionalArguments.accesskey}"
15 tabindex="{model.additionalArguments.tabindex}"
16 onclick="{model.additionalArguments.onclick}"
17
18 name="{model.additionalArguments.prefix}[{model.additionalArguments.name}]"
19 value="{model.additionalArguments.value}"
20
21 autofocus="{model.additionalArguments.autofocus}"
22 maxlength="{model.additionalArguments.maxlength}"
23 size="{model.additionalArguments.size}"
24 placeholder="{model.additionalArguments.placeholder}"
25 pattern="{model.additionalArguments.pattern}"
26 required="{model.additionalArguments.required}"
27 type="{model.additionalArguments.type}"
28
29 errorClass="{model.additionalArguments.errorClass}"
30 additionalAttributes="{model.htmlAttributes}"
31 />
32
33 <f:if condition="{model.layout.labelPosition} == 'after'">
34 <f:format.raw>{model.layout.label}</f:format.raw>
35 </f:if>
36 <f:format.raw>{model.layout.elementOuterWrap.1}</f:format.raw>
37 </f:if>