1e73abed0fb298c079b08d7fa25d7f9e1517aa4a
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Partials / Compatibility / Show / FlatElements / Button.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.button
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 type="{model.additionalArguments.type}"
23
24 additionalAttributes="{model.htmlAttributes}"
25 >{model.additionalArguments.value}</f:form.button>
26
27 <f:if condition="{model.layout.labelPosition} == 'after'">
28 <f:format.raw>{model.layout.label}</f:format.raw>
29 </f:if>
30 <f:format.raw>{model.layout.elementOuterWrap.1}</f:format.raw>
31 </f:if>