Form.html 1.07 KB
Newer Older
David Steeb's avatar
David Steeb committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<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"
>
<f:asset.css identifier="forms" href="EXT:site_t3demo/Resources/Public/Css/form.css" />
<formvh:renderRenderable renderable="{form}">
	<formvh:form
		class="b_form"
		object="{form}"
		action="{form.renderingOptions.controllerAction}"
		method="{form.renderingOptions.httpMethod}"
		id="{form.identifier}"
		section="{form.identifier}"
		enctype="{form.renderingOptions.httpEnctype}"
		addQueryString="{form.renderingOptions.addQueryString}"
		argumentsToBeExcludedFromQueryString="{form.renderingOptions.argumentsToBeExcludedFromQueryString}"
		additionalParams="{form.renderingOptions.additionalParams}"
		additionalAttributes="{formvh:translateElementProperty(element: form, property: 'fluidAdditionalAttributes')}"
	>
		<f:render partial="{form.currentPage.templateName}" arguments="{page: form.currentPage}" />
		<f:render partial="Form/Navigation" arguments="{form: form}" />
	</formvh:form>
</formvh:renderRenderable>
</html>