[TASK] Streamline form template files 21/52121/6
authorBenjamin Kott <benjamin.kott@wfp2.com>
Wed, 22 Mar 2017 13:13:52 +0000 (14:13 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Wed, 22 Mar 2017 20:14:47 +0000 (21:14 +0100)
For a more streamlined rendering this patch adds nessesary html tags
with fluid namespaces to all form templates, unifies indention
and adds an empty space before closing bracket of self-closing tags.
In addition the invalid end tag for thematic breaks was removed.

Resolves: #80393
Releases: master
Change-Id: Id9d8917b5d5f48a480da711490656cc24f18061d
Reviewed-on: https://review.typo3.org/52121
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
58 files changed:
typo3/sysext/form/Resources/Private/Backend/Layouts/FormEditor.html
typo3/sysext/form/Resources/Private/Backend/Layouts/FormManager.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/CheckboxEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/CollectionElementHeaderEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/FinishersEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/FormElementHeaderEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/MultiSelectEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/PropertyGridEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/RemoveElementEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/RequiredValidatorEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/SingleSelectEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/TextEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/TextareaEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/Typo3WinBrowserEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/ValidatorsEditor.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Modals/InsertElements.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Modals/InsertPages.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Modals/ValidationErrors.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/ContentElement.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/Fieldset.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/FileUploadTemplate.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/Page.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/SelectTemplate.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/SimpleTemplate.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/StaticText.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/SummaryPage.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/_ElementToolbar.html
typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Stage/_UnknownElement.html
typo3/sysext/form/Resources/Private/Backend/Templates/FormEditor/Index.html
typo3/sysext/form/Resources/Private/Backend/Templates/FormEditor/InlineTemplates.html
typo3/sysext/form/Resources/Private/Backend/Templates/FormManager/Index.html
typo3/sysext/form/Resources/Private/Frontend/Partials/AdvancedPassword.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Checkbox.html
typo3/sysext/form/Resources/Private/Frontend/Partials/ContentElement.html
typo3/sysext/form/Resources/Private/Frontend/Partials/DatePicker.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Field/Field.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Field/Required.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Fieldset.html
typo3/sysext/form/Resources/Private/Frontend/Partials/FileUpload.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Form/Navigation.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Hidden.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Honeypot.html
typo3/sysext/form/Resources/Private/Frontend/Partials/ImageUpload.html
typo3/sysext/form/Resources/Private/Frontend/Partials/MultiCheckbox.html
typo3/sysext/form/Resources/Private/Frontend/Partials/MultiSelect.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Page.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Password.html
typo3/sysext/form/Resources/Private/Frontend/Partials/RadioButton.html
typo3/sysext/form/Resources/Private/Frontend/Partials/SingleSelect.html
typo3/sysext/form/Resources/Private/Frontend/Partials/StaticText.html
typo3/sysext/form/Resources/Private/Frontend/Partials/SummaryPage.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Text.html
typo3/sysext/form/Resources/Private/Frontend/Partials/Textarea.html
typo3/sysext/form/Resources/Private/Frontend/Partials/UnknownElement.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Finishers/Email/Html.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Finishers/Email/Plaintext.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Form.html
typo3/sysext/form/Resources/Private/Frontend/Templates/Render.html

index adaeb27..9190356 100644 (file)
@@ -1,45 +1,37 @@
-<f:be.pageRenderer
-    includeCssFiles="{stylesheets}"
-    addInlineSettings="{addInlineSettings}"
-    includeJsFiles="{0: 'EXT:backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js'}"
-/>
-
+<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:be.pageRenderer includeCssFiles="{stylesheets}" addInlineSettings="{addInlineSettings}" includeJsFiles="{0: 'EXT:backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js'}" />
 <div data-identifier="moduleLoadingIndicator" class="form-editor-loading-spinner">
-    <core:icon identifier="spinner-circle-dark" size="default" />
-    <div class="form-editor-loading-spinner-label"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.loading" /></div>
+       <core:icon identifier="spinner-circle-dark" size="default" />
+       <div class="form-editor-loading-spinner-label"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.loading" /></div>
 </div>
-
 <div data-identifier="moduleWrapper" class="hidden">
-    <f:format.raw>{formEditorTemplates}</f:format.raw>
-
-    <section id="t3-form-navigation-component" class="t3-form-x-component" data-identifier="structureSection">
-        <div id="t3-form-structure-panel">
-            <f:render section="ElementSidebarTree"/>
-        </div>
-    </section>
-
-    <section id="t3-form-stage-container" data-identifier="stageContainer">
-        <div id="t3-form-stage-inner-container">
-            <header id="t3-form-stage-header">
-                <f:render section="Header"/>
-            </header>
-            <div id="t3-form-stage-content">
-                <f:render section="Stage"/>
-            </div>
-        </div>
-    </section>
-
-    <section id="t3-form-inspector-panels-container" class="t3-form-x-component" data-identifier="inspectorSection">
-        <f:render section="Inspector"/>
-    </section>
+       <f:format.raw>{formEditorTemplates}</f:format.raw>
+       <section id="t3-form-navigation-component" class="t3-form-x-component" data-identifier="structureSection">
+               <div id="t3-form-structure-panel">
+                       <f:render section="ElementSidebarTree" />
+               </div>
+       </section>
+       <section id="t3-form-stage-container" data-identifier="stageContainer">
+               <div id="t3-form-stage-inner-container">
+                       <header id="t3-form-stage-header">
+                               <f:render section="Header" />
+                       </header>
+                       <div id="t3-form-stage-content">
+                               <f:render section="Stage" />
+                       </div>
+               </div>
+       </section>
+       <section id="t3-form-inspector-panels-container" class="t3-form-x-component" data-identifier="inspectorSection">
+               <f:render section="Inspector" />
+       </section>
 </div>
-
 <script type="text/javascript">
-    require(['{dynamicRequireJsModules.app}', '{dynamicRequireJsModules.mediator}', '{dynamicRequireJsModules.viewModel}'], function (formEditorApp, mediator, viewModel) {
-        window.TYPO3.FORMEDITOR_APP = formEditorApp.getInstance(
-            <f:format.htmlentitiesDecode>{formEditorAppInitialData}</f:format.htmlentitiesDecode>,
-            mediator,
-            viewModel
-        ).run();
-    });
+       require(['{dynamicRequireJsModules.app}', '{dynamicRequireJsModules.mediator}', '{dynamicRequireJsModules.viewModel}'], function (formEditorApp, mediator, viewModel) {
+               window.TYPO3.FORMEDITOR_APP = formEditorApp.getInstance(
+                       <f:format.htmlentitiesDecode>{formEditorAppInitialData}</f:format.htmlentitiesDecode>,
+                       mediator,
+                       viewModel
+               ).run();
+       });
 </script>
+</html>
index 5de0312..bb2fba1 100644 (file)
@@ -1,6 +1,5 @@
-<f:be.pageRenderer
-    includeCssFiles="{stylesheets}"
-/>
-
+<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:be.pageRenderer includeCssFiles="{stylesheets}" />
 <f:flashMessages />
 <f:render section="MainContent" />
+</html>
index 40f29ea..314ab3a 100644 (file)
@@ -1,10 +1,12 @@
+<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">
 <div class="form-editor">
-    <div class="t3-form-control-group form-group">
-        <label>
-            <span data-template-property="label" />
-            <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
-                <input type="checkbox" />
-            </div>
-        </label>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-control-group form-group">
+               <label>
+                       <span data-template-property="label" />
+                       <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
+                               <input type="checkbox" />
+                       </div>
+               </label>
+       </div>
+</div>
+</html>
index 5c2c464..4db571c 100644 (file)
@@ -1,5 +1,7 @@
+<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">
 <div class="t3-form-validator-editor">
-    <h4 data-template-property="header-label">
-        <span data-template-property="label" />
-    </h4>
-</div>
\ No newline at end of file
+       <h4 data-template-property="header-label">
+               <span data-template-property="label" />
+       </h4>
+</div>
+</html>
index 1c0b4cb..e612485 100644 (file)
@@ -1,8 +1,10 @@
+<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">
 <div class="form-editor">
-    <h3><span data-template-property="label" /></h3>
-    <div id="t3-form-add-finisher" class="t3-form-add-collection-element">
-        <select data-template-property="selectOptions" class="form-control" />
-    </div>
+       <h3><span data-template-property="label" /></h3>
+       <div id="t3-form-add-finisher" class="t3-form-add-collection-element">
+               <select data-template-property="selectOptions" class="form-control" />
+       </div>
 </div>
 <div id="t3-form-inspector-finishers" class="t3-form-collection-container" data-identifier="inspectorFinishers">
-</div>
\ No newline at end of file
+</div>
+</html>
index fd3b226..0d0da17 100644 (file)
@@ -1,3 +1,5 @@
+<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">
 <div class="form-editor">
-    <h2 class="t3-form-inspector-formelement-header-editor" data-template-property="header-label" data-identifier="inspectorFormElementHeaderEditor"></h2>
-</div>
\ No newline at end of file
+       <h2 class="t3-form-inspector-formelement-header-editor" data-template-property="header-label" data-identifier="inspectorFormElementHeaderEditor"></h2>
+</div>
+</html>
index 05fbb4d..4c3150a 100644 (file)
@@ -1,6 +1,8 @@
+<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">
 <div class="t3-form-control-group form-group">
-    <label><span data-template-property="label" /></label>
-    <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
-        <select data-template-property="selectOptions" class="form-control" multiple="multiple"/>
-    </div>
-</div>
\ No newline at end of file
+       <label><span data-template-property="label" /></label>
+       <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
+               <select data-template-property="selectOptions" class="form-control" multiple="multiple" />
+       </div>
+</div>
+</html>
index 6cb4559..20e3d99 100644 (file)
@@ -1,45 +1,45 @@
+<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">
 <div class="form-editor">
-    <div class="t3-form-control-group form-group property-grid">
-        <label><span data-template-property="label" /></label>
-        <div data-editor="new-property-grid" data-template-property="newPropertyPath">
-
-            <table class="table table-hover" data-identifier="propertyGridContainer">
-                <thead>
-                    <tr>
-                        <th></th>
-                        <th>Label</th>
-                        <th>Value</th>
-                        <th>Selected</th>
-                        <th></th>
-                    </tr>
-                </thead>
-                <tbody>
-                    <tr data-identifier="rowItem">
-                        <td><span class="sort-row-field" data-identifier="sortRow"><core:icon identifier="actions-move-move" /></span></td>
-                        <td><input type="text" class="form-control" value="" data-identifier="label" /></td>
-                        <td><input type="text" class="form-control" value="" data-identifier="value" /></td>
-                        <td><input type="checkbox" data-identifier="selectValue" /></td>
-                        <td>
-                            <div class="btn-group btn-group-sm" role="group">
-                                <button class="btn btn-default" title="Remove this row" data-identifier="deleteRow"><core:icon identifier="actions-delete" /></button>
-                            </div>
-                        </td>
-                    </tr>
-                    <tr data-identifier="addRowItem">
-                        <td>
-                            <div class="btn-group btn-group-sm" role="group">
-                                <button class="btn btn-default" title="Add a new row" data-identifier="addRow"><core:icon identifier="actions-add" /></button>
-                            </div>
-                        </td>
-                        <td></td>
-                        <td></td>
-                        <td></td>
-                        <td></td>
-                    </tr>
-                </tbody>
-            </table>
-
-        </div>
-        <div data-editor="property-grid" data-template-property="propertyPath" class="t3-form-grid" />
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-control-group form-group property-grid">
+               <label><span data-template-property="label" /></label>
+               <div data-editor="new-property-grid" data-template-property="newPropertyPath">
+                       <table class="table table-hover" data-identifier="propertyGridContainer">
+                               <thead>
+                                       <tr>
+                                               <th></th>
+                                               <th>Label</th>
+                                               <th>Value</th>
+                                               <th>Selected</th>
+                                               <th></th>
+                                       </tr>
+                               </thead>
+                               <tbody>
+                                       <tr data-identifier="rowItem">
+                                               <td><span class="sort-row-field" data-identifier="sortRow"><core:icon identifier="actions-move-move" /></span></td>
+                                               <td><input type="text" class="form-control" value="" data-identifier="label" /></td>
+                                               <td><input type="text" class="form-control" value="" data-identifier="value" /></td>
+                                               <td><input type="checkbox" data-identifier="selectValue" /></td>
+                                               <td>
+                                                       <div class="btn-group btn-group-sm" role="group">
+                                                               <button class="btn btn-default" title="Remove this row" data-identifier="deleteRow"><core:icon identifier="actions-delete" /></button>
+                                                       </div>
+                                               </td>
+                                       </tr>
+                                       <tr data-identifier="addRowItem">
+                                               <td>
+                                                       <div class="btn-group btn-group-sm" role="group">
+                                                               <button class="btn btn-default" title="Add a new row" data-identifier="addRow"><core:icon identifier="actions-add" /></button>
+                                                       </div>
+                                               </td>
+                                               <td></td>
+                                               <td></td>
+                                               <td></td>
+                                               <td></td>
+                                       </tr>
+                               </tbody>
+                       </table>
+               </div>
+               <div data-editor="property-grid" data-template-property="propertyPath" class="t3-form-grid" />
+       </div>
+</div>
+</html>
index b1c92c1..af4f055 100644 (file)
@@ -1,3 +1,5 @@
+<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">
 <div class="t3-form-control-group form-group btn-group-sm">
-    <button class="btn btn-default" title="Remove this Element"><core:icon identifier="actions-delete" alternativeMarkupIdentifier="inline"/></button>
+       <button class="btn btn-default" title="Remove this Element"><core:icon identifier="actions-delete" alternativeMarkupIdentifier="inline" /></button>
 </div>
+</html>
index 40f29ea..314ab3a 100644 (file)
@@ -1,10 +1,12 @@
+<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">
 <div class="form-editor">
-    <div class="t3-form-control-group form-group">
-        <label>
-            <span data-template-property="label" />
-            <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
-                <input type="checkbox" />
-            </div>
-        </label>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-control-group form-group">
+               <label>
+                       <span data-template-property="label" />
+                       <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
+                               <input type="checkbox" />
+                       </div>
+               </label>
+       </div>
+</div>
+</html>
index f1f9653..2cc03cf 100644 (file)
@@ -1,6 +1,8 @@
+<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">
 <div class="t3-form-control-group form-group">
-    <label><span data-template-property="label" /></label>
-    <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
-        <select data-template-property="selectOptions" class="form-control" />
-    </div>
-</div>
\ No newline at end of file
+       <label><span data-template-property="label" /></label>
+       <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
+               <select data-template-property="selectOptions" class="form-control" />
+       </div>
+</div>
+</html>
index 00babb9..15c6722 100644 (file)
@@ -1,23 +1,24 @@
+<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">
 <div class="form-editor">
-    <div class="t3-form-control-group form-group">
-        <label><span data-template-property="label" /></label>
-        <div class="input-group" data-identifier="inspectorEditorControlsGroup">
-            <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
-                <input type="text" value="" data-template-property="propertyPath" class="form-control">
-            </div>
-
-            <span class="input-group-btn" role="group" data-identifier="inspectorEditorFormElementSelectorControlsWrapper">
-                <span class="btn-group t3-form-dropdown-buttons" data-identifier="inspectorEditorFormElementSelectorSplitButtonContainer">
-                   <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.inspector.editor.formelement_selector.title')}">
-                       <core:icon identifier="t3-form-icon-form-element-selector" />
-                       <span class="caret"></span>
-                       <span class="sr-only">Toggle Dropdown</span>
-                   </button>
-                   <ul class="dropdown-menu dropdown-menu-right" data-identifier="inspectorEditorFormElementSelectorSplitButtonListContainer"></ul>
-                </span>
-            </span>
-        </div>
-        <span data-template-property="fieldExplanationText" />
-        <span data-template-property="validationErrors" />
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-control-group form-group">
+               <label><span data-template-property="label" /></label>
+               <div class="input-group" data-identifier="inspectorEditorControlsGroup">
+                       <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
+                               <input type="text" value="" data-template-property="propertyPath" class="form-control">
+                       </div>
+                       <span class="input-group-btn" role="group" data-identifier="inspectorEditorFormElementSelectorControlsWrapper">
+                               <span class="btn-group t3-form-dropdown-buttons" data-identifier="inspectorEditorFormElementSelectorSplitButtonContainer">
+                                       <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.inspector.editor.formelement_selector.title')}">
+                                               <core:icon identifier="t3-form-icon-form-element-selector" />
+                                               <span class="caret"></span>
+                                               <span class="sr-only">Toggle Dropdown</span>
+                                       </button>
+                                       <ul class="dropdown-menu dropdown-menu-right" data-identifier="inspectorEditorFormElementSelectorSplitButtonListContainer"></ul>
+                               </span>
+                       </span>
+               </div>
+               <span data-template-property="fieldExplanationText" />
+               <span data-template-property="validationErrors" />
+       </div>
+</div>
+</html>
index 31e261e..28e65d2 100644 (file)
@@ -1,8 +1,10 @@
+<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">
 <div class="form-editor">
-    <div class="t3-form-control-group form-group">
-        <label><span data-template-property="label" /></label>
-        <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
-            <textarea data-template-property="propertyPath" class="form-control" />
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-control-group form-group">
+               <label><span data-template-property="label" /></label>
+               <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
+                       <textarea data-template-property="propertyPath" class="form-control" />
+               </div>
+       </div>
+</div>
+</html>
index 66dd258..5d52590 100644 (file)
@@ -1,17 +1,19 @@
+<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">
 <div class="form-editor">
-    <div class="t3-form-control-group form-group">
-        <label><span data-template-property="label" /></label>
-        <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
-            <input type="text" value="" data-template-property="propertyPath" class="form-control" data-insert-target="">
-            <div class="help-block">
-                <a href="#" data-template-property="onclick" class="btn btn-default">
-                    <span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">
-                        <span class="icon-markup" data-template-property="image" />
-                    </span> <span data-template-property="buttonLabel" />
-                </a>
-            </div>
-            <span data-template-property="fieldExplanationText" />
-            <span data-template-property="validationErrors" />
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-control-group form-group">
+               <label><span data-template-property="label" /></label>
+               <div class="t3-form-controls" data-identifier="inspectorEditorControlsWrapper">
+                       <input type="text" value="" data-template-property="propertyPath" class="form-control" data-insert-target="">
+                       <div class="help-block">
+                               <a href="#" data-template-property="onclick" class="btn btn-default">
+                                       <span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">
+                                               <span class="icon-markup" data-template-property="image" />
+                                       </span> <span data-template-property="buttonLabel" />
+                               </a>
+                       </div>
+                       <span data-template-property="fieldExplanationText" />
+                       <span data-template-property="validationErrors" />
+               </div>
+       </div>
+</div>
+</html>
index 6d61b5b..c941066 100644 (file)
@@ -1,8 +1,10 @@
+<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">
 <div class="form-editor">
-    <h3><span data-template-property="label" /></h3>
-    <div id="t3-form-add-validator" class="t3-form-add-collection-element">
-        <select data-template-property="selectOptions" class="form-control" />
-    </div>
+       <h3><span data-template-property="label" /></h3>
+       <div id="t3-form-add-validator" class="t3-form-add-collection-element">
+               <select data-template-property="selectOptions" class="form-control" />
+       </div>
 </div>
 <div id="t3-form-inspector-validators" class="t3-form-collection-container" data-identifier="inspectorValidators">
-</div>
\ No newline at end of file
+</div>
+</html>
index 95d125b..adf7f68 100644 (file)
@@ -1,28 +1,30 @@
+<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">
 <div id="t3-form-insert-elements-panel">
-    <div class="t3-form-x-component-inner-wrapper">
-        <f:for each="{insertRenderablesPanelConfiguration}" as="insertRenderablePanelConfiguration">
-            <f:if condition="{insertRenderablePanelConfiguration.key} != 'page'">
-                <div class="row">
-                    <div class="col-sm-12">
-                        <h4 class="t3-form-group-{insertRenderablePanelConfiguration.key}">
-                            <span>{insertRenderablePanelConfiguration.label}</span>
-                        </h4>
-                    </div>
-                    <f:for each="{insertRenderablePanelConfiguration.elements}" as="element">
-                        <div class="col-sm-4 btn-group">
-                            <a class="t3-form-group-{insertRenderablePanelConfiguration.key} t3-form-type-{element.cssKey} btn btn-default btn-block" title="{element.key}" data-element-type="{element.key}">
-                                <span class="pull-left">
-                                    <core:icon identifier="{element.iconIdentifier}" alternativeMarkupIdentifier="inline" />
-                                    <span>{element.label}</span>
-                                </span>
-                                <span class="clearfix"></span>
-                            </a>
-                            <hr />
-                        </div>
-                    </f:for>
-                </div>
-                <hr />
-            </f:if>
-        </f:for>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-x-component-inner-wrapper">
+               <f:for each="{insertRenderablesPanelConfiguration}" as="insertRenderablePanelConfiguration">
+                       <f:if condition="{insertRenderablePanelConfiguration.key} != 'page'">
+                               <div class="row">
+                                       <div class="col-sm-12">
+                                               <h4 class="t3-form-group-{insertRenderablePanelConfiguration.key}">
+                                                       <span>{insertRenderablePanelConfiguration.label}</span>
+                                               </h4>
+                                       </div>
+                                       <f:for each="{insertRenderablePanelConfiguration.elements}" as="element">
+                                               <div class="col-sm-4 btn-group">
+                                                       <a class="t3-form-group-{insertRenderablePanelConfiguration.key} t3-form-type-{element.cssKey} btn btn-default btn-block" title="{element.key}" data-element-type="{element.key}">
+                                                               <span class="pull-left">
+                                                                       <core:icon identifier="{element.iconIdentifier}" alternativeMarkupIdentifier="inline" />
+                                                                       <span>{element.label}</span>
+                                                               </span>
+                                                               <span class="clearfix"></span>
+                                                       </a>
+                                                       <hr>
+                                               </div>
+                                       </f:for>
+                               </div>
+                               <hr>
+                       </f:if>
+               </f:for>
+       </div>
+</div>
+</html>
index 2f4e0b9..f07a4b0 100644 (file)
@@ -1,26 +1,29 @@
+<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">
 <div id="t3-form-insert-pages-panel">
-    <div class="t3-form-x-component-inner-wrapper">
-        <f:for each="{insertRenderablesPanelConfiguration}" as="insertRenderablePanelConfiguration">
-            <f:if condition="{insertRenderablePanelConfiguration.key} == 'page'">
-                <div class="row">
-                    <div class="col-sm-12">
-                        <h3 class="t3-form-group-{insertRenderablePanelConfiguration.key}">
-                            <span>{insertRenderablePanelConfiguration.label}</span>
-                        </h3>
-                    </div>
-                    <f:for each="{insertRenderablePanelConfiguration.elements}" as="element">
-                        <div class="col-sm-4 btn-group">
-                            <a class="t3-form-group-{insertRenderablePanelConfiguration.key} t3-form-type-{element.cssKey} btn btn-default btn-block" title="{element.key}" data-element-type="{element.key}">
-                                <span class="pull-left">
-                                    <core:icon identifier="{element.iconIdentifier}" alternativeMarkupIdentifier="inline" />
-                                    <span>{element.label}</span>
-                                 </span>
-                                <span class="clearfix"></span>
-                            </a>
-                            <hr />
-                        </div>
-                    </f:for>
-            </f:if>
-        </f:for>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-x-component-inner-wrapper">
+               <f:for each="{insertRenderablesPanelConfiguration}" as="insertRenderablePanelConfiguration">
+                       <f:if condition="{insertRenderablePanelConfiguration.key} == 'page'">
+                               <div class="row">
+                                       <div class="col-sm-12">
+                                               <h3 class="t3-form-group-{insertRenderablePanelConfiguration.key}">
+                                                       <span>{insertRenderablePanelConfiguration.label}</span>
+                                               </h3>
+                                       </div>
+                                       <f:for each="{insertRenderablePanelConfiguration.elements}" as="element">
+                                               <div class="col-sm-4 btn-group">
+                                                       <a class="t3-form-group-{insertRenderablePanelConfiguration.key} t3-form-type-{element.cssKey} btn btn-default btn-block" title="{element.key}" data-element-type="{element.key}">
+                                                               <span class="pull-left">
+                                                                       <core:icon identifier="{element.iconIdentifier}" alternativeMarkupIdentifier="inline" />
+                                                                       <span>{element.label}</span>
+                                                               </span>
+                                                               <span class="clearfix"></span>
+                                                       </a>
+                                                       <hr>
+                                               </div>
+                                       </f:for>
+                               </div>
+                       </f:if>
+               </f:for>
+       </div>
+</div>
+</html>
index 24867aa..a10d7be 100644 (file)
@@ -1,17 +1,18 @@
+<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">
 <div id="t3-form-validation-errors-panel">
-    <div class="t3-form-x-component-inner-wrapper">
-        <div class="row">
-            <div class="col-sm-12">
-                <p><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.modals.validationErrors.dialogMessage" /></p>
-            </div>
-
-            <div class="col-sm-12">
-                <dl class="t3-overview-list" data-identifier="rowsContainer">
-                    <dt data-identifier="rowItem">
-                        <i class="fa fa-exclamation-triangle text-danger" aria-hidden="true"></i>&nbsp;<a data-identifier="rowLink"></a>
-                    </dt>
-                </dl>
-            </div>
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-x-component-inner-wrapper">
+               <div class="row">
+                       <div class="col-sm-12">
+                               <p><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.modals.validationErrors.dialogMessage" /></p>
+                       </div>
+                       <div class="col-sm-12">
+                               <dl class="t3-overview-list" data-identifier="rowsContainer">
+                                       <dt data-identifier="rowItem">
+                                               <i class="fa fa-exclamation-triangle text-danger" aria-hidden="true"></i>&nbsp;<a data-identifier="rowLink"></a>
+                                       </dt>
+                               </dl>
+                       </div>
+               </div>
+       </div>
+</div>
+</html>
index ac4e0dd..e24665f 100644 (file)
@@ -1,30 +1,29 @@
+<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">
 <div class="meta-label">
-    <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
+       <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
 </div>
-
 <div class="t3-form-form-element-body">
-    <div class="t3-form-icon-container">
-        <span data-identifier="elementIcon"></span>
-    </div>
-
-    <div class="t3-form-element-info">
-        <div class="element-label-container">
-            <div class="element-label">
-                <span data-template-property="label"></span>
-                <span data-template-property="_required"></span>
-            </div>
-        </div>
-        <div class="element-content">
-            <div data-template-property="properties.contentElementUid" />
-        </div>
-    </div>
-
-    <div class="t3-form-validator-info" data-identifier="validators">
-        <span data-identifier="validatorIcon"></span>
-        <div class="t3-form-validator-list">
-            <div data-identifier="validatorsContainer">
-                <div class="validator-label" data-template-property="_label"></div>
-            </div>
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-icon-container">
+               <span data-identifier="elementIcon"></span>
+       </div>
+       <div class="t3-form-element-info">
+               <div class="element-label-container">
+                       <div class="element-label">
+                               <span data-template-property="label"></span>
+                               <span data-template-property="_required"></span>
+                       </div>
+               </div>
+               <div class="element-content">
+                       <div data-template-property="properties.contentElementUid" />
+               </div>
+       </div>
+       <div class="t3-form-validator-info" data-identifier="validators">
+               <span data-identifier="validatorIcon"></span>
+               <div class="t3-form-validator-list">
+                       <div data-identifier="validatorsContainer">
+                               <div class="validator-label" data-template-property="_label"></div>
+                       </div>
+               </div>
+       </div>
+</div>
+</html>
index b4e6dcf..f1e2ebb 100644 (file)
@@ -1,18 +1,18 @@
+<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">
 <div class="meta-label">
-    <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
+       <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
 </div>
-
 <div class="t3-form-form-element-body">
-    <div class="t3-form-icon-container">
-        <span data-identifier="elementIcon"></span>
-    </div>
-
-    <div class="t3-form-element-info">
-        <div class="element-label-container">
-            <div class="element-label">
-                <span data-template-property="label"></span>
-                <span data-template-property="_required"></span>
-            </div>
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-icon-container">
+               <span data-identifier="elementIcon"></span>
+       </div>
+       <div class="t3-form-element-info">
+               <div class="element-label-container">
+                       <div class="element-label">
+                               <span data-template-property="label"></span>
+                               <span data-template-property="_required"></span>
+                       </div>
+               </div>
+       </div>
+</div>
+</html>
index 7ded50d..e18de8e 100644 (file)
@@ -1,33 +1,32 @@
+<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">
 <div class="meta-label">
-    <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
+       <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
 </div>
-
 <div class="t3-form-form-element-body">
-    <div class="t3-form-icon-container">
-        <span data-identifier="elementIcon"></span>
-    </div>
-
-    <div class="t3-form-element-info">
-        <div class="element-label-container">
-            <div class="element-label">
-                <span data-template-property="label"></span>
-                <span data-template-property="_required"></span>
-            </div>
-        </div>
-        <div class="element-content">
-            <div data-template-property="properties.saveToFileMount" />
-            <div data-identifier="multiValueContainer" data-template-property="properties.allowedMimeTypes">
-                <div data-template-property="_value" />
-            </div>
-        </div>
-    </div>
-
-    <div class="t3-form-validator-info" data-identifier="validators">
-        <span data-identifier="validatorIcon"></span>
-        <div class="t3-form-validator-list">
-            <div data-identifier="validatorsContainer">
-                <div class="validator-label" data-template-property="_label"></div>
-            </div>
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-icon-container">
+               <span data-identifier="elementIcon"></span>
+       </div>
+       <div class="t3-form-element-info">
+               <div class="element-label-container">
+                       <div class="element-label">
+                               <span data-template-property="label"></span>
+                               <span data-template-property="_required"></span>
+                       </div>
+               </div>
+               <div class="element-content">
+                       <div data-template-property="properties.saveToFileMount" />
+                       <div data-identifier="multiValueContainer" data-template-property="properties.allowedMimeTypes">
+                               <div data-template-property="_value" />
+                       </div>
+               </div>
+       </div>
+       <div class="t3-form-validator-info" data-identifier="validators">
+               <span data-identifier="validatorIcon"></span>
+               <div class="t3-form-validator-list">
+                       <div data-identifier="validatorsContainer">
+                               <div class="validator-label" data-template-property="_label"></div>
+                       </div>
+               </div>
+       </div>
+</div>
+</html>
index aa5e881..2b5bdf4 100644 (file)
@@ -1 +1,3 @@
-<h2 class="t3-form-page-title" data-template-property="label"></h2>
\ No newline at end of file
+<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">
+<h2 class="t3-form-page-title" data-template-property="label"></h2>
+</html>
index 878e580..e52931d 100644 (file)
@@ -1,32 +1,31 @@
+<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">
 <div class="meta-label">
-    <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
+       <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
 </div>
-
 <div class="t3-form-form-element-body">
-    <div class="t3-form-icon-container">
-        <span data-identifier="elementIcon"></span>
-    </div>
-
-    <div class="t3-form-element-info">
-        <div class="element-label-container">
-            <div class="element-label">
-                <span data-template-property="label"></span>
-                <span data-template-property="_required"></span>
-            </div>
-        </div>
-        <div class="element-content">
-            <div data-identifier="multiValueContainer" data-template-property="properties.options">
-                <div data-template-property="_label"></div>
-            </div>
-        </div>
-    </div>
-
-    <div class="t3-form-validator-info" data-identifier="validators">
-        <span data-identifier="validatorIcon"></span>
-        <div class="t3-form-validator-list">
-            <div data-identifier="validatorsContainer">
-                <div class="validator-label" data-template-property="_label"></div>
-            </div>
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="t3-form-icon-container">
+               <span data-identifier="elementIcon"></span>
+       </div>
+       <div class="t3-form-element-info">
+               <div class="element-label-container">
+                       <div class="element-label">
+                               <span data-template-property="label"></span>
+                               <span data-template-property="_required"></span>
+                       </div>
+               </div>
+               <div class="element-content">
+                       <div data-identifier="multiValueContainer" data-template-property="properties.options">
+                               <div data-template-property="_label"></div>
+                       </div>
+               </div>
+       </div>
+       <div class="t3-form-validator-info" data-identifier="validators">
+               <span data-identifier="validatorIcon"></span>
+               <div class="t3-form-validator-list">
+                       <div data-identifier="validatorsContainer">
+                               <div class="validator-label" data-template-property="_label"></div>
+                       </div>
+               </div>
+       </div>
+</div>
+</html>
index c2a5391..57e2d19 100644 (file)
@@ -1,27 +1,26 @@
-<div class="meta-label">
-    <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
-</div>
-
-<div class="t3-form-form-element-body">
-    <div class="t3-form-icon-container">
-        <span data-identifier="elementIcon"></span>
-    </div>
-
-    <div class="t3-form-element-info">
-        <div class="element-label-container">
-            <div class="element-label">
-                <span data-template-property="label"></span>
-                <span data-template-property="_required"></span>
-            </div>
-        </div>
-    </div>
-
-    <div class="t3-form-validator-info" data-identifier="validators">
-        <span data-identifier="validatorIcon"></span>
-        <div class="t3-form-validator-list">
-            <div data-identifier="validatorsContainer">
-                <div class="validator-label" data-template-property="_label"></div>
-            </div>
-        </div>
-    </div>
-</div>
\ No newline at end of file
+<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">
+       <div class="meta-label">
+               <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
+       </div>
+       <div class="t3-form-form-element-body">
+               <div class="t3-form-icon-container">
+                       <span data-identifier="elementIcon"></span>
+               </div>
+               <div class="t3-form-element-info">
+                       <div class="element-label-container">
+                               <div class="element-label">
+                                       <span data-template-property="label"></span>
+                                       <span data-template-property="_required"></span>
+                               </div>
+                       </div>
+               </div>
+               <div class="t3-form-validator-info" data-identifier="validators">
+                       <span data-identifier="validatorIcon"></span>
+                       <div class="t3-form-validator-list">
+                               <div data-identifier="validatorsContainer">
+                                       <div class="validator-label" data-template-property="_label"></div>
+                               </div>
+                       </div>
+               </div>
+       </div>
+</html>
index b9520b1..721a5a1 100644 (file)
@@ -1,30 +1,29 @@
+<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">
 <div class="meta-label">
-    <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
+       <span data-template-property="_type"></span>: <span data-template-property="_identifier"></span>
 </div>
-
 <div class="t3-form-form-element-body">
-    <div class="t3-form-icon-container">
-        <span data-identifier="elementIcon"></span>
-    </div>
-
-    <div class="t3-form-element-info">
-        <div class="element-label-container">
-            <div class="element-label">
-                <span data-template-property="label"></span>
-                <span data-template-property="_required"></span>
-            </div>
-        </div>
-        <div class="element-content">
-            <div data-template-property="properties.text" />
-        </div>
-    </div>
-
-    <div class="t3-form-validator-info" data-identifier="validators">
-        <span data-identifier="validatorIcon"></span>
-        <div class="t3-form-validator-list">
-            <div data-identifier="validatorsContainer">
-                <div class="validator-label" data-template-property="_label"></div>
-            </div>
-        </div>
-    </div>
+       <div class="t3-form-icon-container">
+               <span data-identifier="elementIcon"></span>
+       </div>
+       <div class="t3-form-element-info">
+               <div class="element-label-container">
+                       <div class="element-label">
+                               <span data-template-property="label"></span>
+                               <span data-template-property="_required"></span>
+                       </div>
+               </div>
+               <div class="element-content">
+                       <div data-template-property="properties.text" />
+               </div>
+       </div>
+       <div class="t3-form-validator-info" data-identifier="validators">
+               <span data-identifier="validatorIcon"></span>
+               <div class="t3-form-validator-list">
+                       <div data-identifier="validatorsContainer">
+                               <div class="validator-label" data-template-property="_label"></div>
+                       </div>
+               </div>
+       </div>
 </div>
+</html>
index ccd6afd..02b8a9b 100644 (file)
@@ -1 +1,3 @@
-<h2 data-template-property="label"></h2>
\ No newline at end of file
+<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">
+<h2 data-template-property="label"></h2>
+</html>
index c040485..fff10d0 100644 (file)
@@ -1,33 +1,35 @@
+<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">
 <div class="btn-toolbar-container" data-identifier="elementToolbar">
-    <div class="btn-toolbar" data-identifier="elementToolbarButtons">
-        <div class="btn-group btn-group-sm" role="group">
-            <a class="btn btn-default" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}" data-identifier="stageElementToolbarNewElement"><core:icon identifier="actions-document-new" alternativeMarkupIdentifier="inline" /></a>
-        </div>
-        <div class="btn-group btn-group-sm" role="group">
-            <div class="btn-group t3-form-dropdown-buttons" data-identifier="stageElementToolbarNewElementSplitButton">
-               <button type="button" class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}">
-                   <core:icon identifier="actions-document-new" alternativeMarkupIdentifier="inline" />
-                   <span class="caret"></span>
-                   <span class="sr-only">Toggle Dropdown</span>
-               </button>
-               <ul class="dropdown-menu dropdown-menu-right">
-                  <li data-no-sorting>
-                     <a href="#" data-identifier="stageElementToolbarNewElementSplitButtonInside">
-                         <core:icon identifier="t3-form-icon-insert-in" alternativeMarkupIdentifier="inline" />
-                         <f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element.inside" />
-                     </a>
-                  </li>
-                  <li data-no-sorting>
-                     <a href="#" data-identifier="stageElementToolbarNewElementSplitButtonAfter">
-                         <core:icon identifier="t3-form-icon-insert-after" alternativeMarkupIdentifier="inline" />
-                         <f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element.after" />
-                     </a>
-                  </li>
-               </ul>
-            </div>
-        </div>
-        <div class="btn-group btn-group-sm" role="group">
-            <a class="btn btn-default" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.remove')}" data-identifier="stageElementToolbarRemoveElement"><core:icon identifier="actions-edit-delete" alternativeMarkupIdentifier="inline" /></a>
-        </div>
-    </div>
-</div>
\ No newline at end of file
+       <div class="btn-toolbar" data-identifier="elementToolbarButtons">
+               <div class="btn-group btn-group-sm" role="group">
+                       <a class="btn btn-default" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}" data-identifier="stageElementToolbarNewElement"><core:icon identifier="actions-document-new" alternativeMarkupIdentifier="inline" /></a>
+               </div>
+               <div class="btn-group btn-group-sm" role="group">
+                       <div class="btn-group t3-form-dropdown-buttons" data-identifier="stageElementToolbarNewElementSplitButton">
+                               <button type="button" class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}">
+                                       <core:icon identifier="actions-document-new" alternativeMarkupIdentifier="inline" />
+                                       <span class="caret"></span>
+                                       <span class="sr-only">Toggle Dropdown</span>
+                               </button>
+                               <ul class="dropdown-menu dropdown-menu-right">
+                                       <li data-no-sorting>
+                                               <a href="#" data-identifier="stageElementToolbarNewElementSplitButtonInside">
+                                                       <core:icon identifier="t3-form-icon-insert-in" alternativeMarkupIdentifier="inline" />
+                                                       <f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element.inside" />
+                                               </a>
+                                       </li>
+                                       <li data-no-sorting>
+                                               <a href="#" data-identifier="stageElementToolbarNewElementSplitButtonAfter">
+                                                       <core:icon identifier="t3-form-icon-insert-after" alternativeMarkupIdentifier="inline" />
+                                                       <f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element.after" />
+                                               </a>
+                                       </li>
+                               </ul>
+                       </div>
+               </div>
+               <div class="btn-group btn-group-sm" role="group">
+                       <a class="btn btn-default" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.remove')}" data-identifier="stageElementToolbarRemoveElement"><core:icon identifier="actions-edit-delete" alternativeMarkupIdentifier="inline" /></a>
+               </div>
+       </div>
+</div>
+</html>
index 31d9a2e..46d9d42 100644 (file)
@@ -1 +1,3 @@
-<span><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.elements.UnknownElement" /></span>
\ No newline at end of file
+<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">
+<span><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.elements.UnknownElement" /></span>
+</html>
index 74e32b8..239b8e9 100644 (file)
@@ -1,62 +1,68 @@
+<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:layout name="FormEditor" />
-
 <f:section name="ElementSidebarTree">
-    <div class="t3-form-x-component-inner-wrapper">
-        <div id="t3-form-navigation-component-tree-root-container" data-identifier="treeRootContainer">
-            <core:icon identifier="content-elements-mailform" />
-            <span id="t3-form-navigation-component-tree-root" data-identifier="treeRootElement"></span>
-        </div>
-        <div class="tree" data-identifier="structure-element"></div>
-        <div class="form-group col-sm-12">
-            <div class="btn-group btn-group-sm" role="group">
-                <a class="btn btn-default t3-form-element-new-page-button" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.new_page_button')}" data-identifier="treeNewPageBottom"><core:icon identifier="actions-page-new" /> {f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.new_page_button')}</a>
-            </div>
-        </div>
-    </div>
-</f:section>
 
-<f:section name="Header">
-    <h1><span id="t3-form-form-definition-label" data-identifier="formDefinitionLabel"></span></h1>
+       <div class="t3-form-x-component-inner-wrapper">
+               <div id="t3-form-navigation-component-tree-root-container" data-identifier="treeRootContainer">
+                       <core:icon identifier="content-elements-mailform" />
+                       <span id="t3-form-navigation-component-tree-root" data-identifier="treeRootElement"></span>
+               </div>
+               <div class="tree" data-identifier="structure-element"></div>
+               <div class="form-group col-sm-12">
+                       <div class="btn-group btn-group-sm" role="group">
+                               <a class="btn btn-default t3-form-element-new-page-button" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.new_page_button')}" data-identifier="treeNewPageBottom"><core:icon identifier="actions-page-new" /> {f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.new_page_button')}</a>
+                       </div>
+               </div>
+       </div>
+
 </f:section>
+<f:section name="Header">
+
+       <h1><span id="t3-form-form-definition-label" data-identifier="formDefinitionLabel"></span></h1>
 
-<f:section name="Stage">
-    <div class="panel panel-default" data-identifier="stagePanel">
-        <div class="panel-heading" data-identifier="panelHeading">
-            <span data-identifier="stageHeaderToolbar">
-                <div class="btn-group">
-                    <button class="btn btn-default" title="" data-identifier="buttonViewModePreview"><core:icon identifier="actions-document-view" alternativeMarkupIdentifier="inline" /></button>
-                    <button class="btn btn-default" title="" data-identifier="buttonViewModeAbstract"><core:icon identifier="actions-document-open" alternativeMarkupIdentifier="inline" /></button>
-                </div>
-                <div class="pull-right">
-                    <span class="paginiation-label" data-identifier="paginationTitle"></span>
-                    <div class="btn-group">
-                        <button class="btn btn-default" title="" data-identifier="buttonPaginationPrevious"><core:icon identifier="actions-view-paging-previous" alternativeMarkupIdentifier="inline" /></button>
-                        <button class="btn btn-default" title="" data-identifier="buttonPaginationNext"><core:icon identifier="actions-view-paging-next" alternativeMarkupIdentifier="inline" /></button>
-                    </div>
-                </div>
-            </span>
-        </div>
-        <div class="form-section" data-identifier="stageSection">
-            <div class="row">
-                <div id="t3-form-stage" class="form-group col-sm-12" data-identifier="stageArea"></div>
-            </div>
-            <div class="row" data-identifier="stageNewElementRow">
-                <div class="form-group col-sm-12">
-                    <div class="t3-form-new-element-container">
-                        <div class="btn-group btn-group-sm" role="group">
-                            <a class="btn btn-default" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}" data-identifier="stageNewElementBottom"><core:icon identifier="actions-document-new" /> {f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}</a>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
 </f:section>
+<f:section name="Stage">
+
+       <div class="panel panel-default" data-identifier="stagePanel">
+               <div class="panel-heading" data-identifier="panelHeading">
+                       <span data-identifier="stageHeaderToolbar">
+                               <div class="btn-group">
+                                       <button class="btn btn-default" title="" data-identifier="buttonViewModePreview"><core:icon identifier="actions-document-view" alternativeMarkupIdentifier="inline" /></button>
+                                       <button class="btn btn-default" title="" data-identifier="buttonViewModeAbstract"><core:icon identifier="actions-document-open" alternativeMarkupIdentifier="inline" /></button>
+                               </div>
+                               <div class="pull-right">
+                                       <span class="paginiation-label" data-identifier="paginationTitle"></span>
+                                       <div class="btn-group">
+                                               <button class="btn btn-default" title="" data-identifier="buttonPaginationPrevious"><core:icon identifier="actions-view-paging-previous" alternativeMarkupIdentifier="inline" /></button>
+                                               <button class="btn btn-default" title="" data-identifier="buttonPaginationNext"><core:icon identifier="actions-view-paging-next" alternativeMarkupIdentifier="inline" /></button>
+                                       </div>
+                               </div>
+                       </span>
+               </div>
+               <div class="form-section" data-identifier="stageSection">
+                       <div class="row">
+                               <div id="t3-form-stage" class="form-group col-sm-12" data-identifier="stageArea"></div>
+                       </div>
+                       <div class="row" data-identifier="stageNewElementRow">
+                               <div class="form-group col-sm-12">
+                                       <div class="t3-form-new-element-container">
+                                               <div class="btn-group btn-group-sm" role="group">
+                                                       <a class="btn btn-default" href="#" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}" data-identifier="stageNewElementBottom"><core:icon identifier="actions-document-new" /> {f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.stage.toolbar.new_element')}</a>
+                                               </div>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </div>
 
+</f:section>
 <f:section name="Inspector">
-    <div id="t3-form-inspector-panels">
-        <div class="t3-form-x-component-inner-wrapper">
-            <div id="t3-form-inspector" data-identifier="inspector"></div>
-        </div>
-    </div>
-</f:section>
\ No newline at end of file
+
+       <div id="t3-form-inspector-panels">
+               <div class="t3-form-x-component-inner-wrapper">
+                       <div id="t3-form-inspector" data-identifier="inspector"></div>
+               </div>
+       </div>
+
+</f:section>
+</html>
index 9a16007..2d71b52 100644 (file)
@@ -1,5 +1,7 @@
+<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:for each="{formEditorPartials}" key="formEditorTemplateName" as="formEditorPartial">
-    <script type="text/x-formeditor-template" data-template-name="{formEditorTemplateName}">
-        <f:render partial="{formEditorPartial}" arguments="{insertRenderablesPanelConfiguration: insertRenderablesPanelConfiguration}" />
-    </script>
-</f:for>
\ No newline at end of file
+       <script type="text/x-formeditor-template" data-template-name="{formEditorTemplateName}">
+               <f:render partial="{formEditorPartial}" arguments="{insertRenderablesPanelConfiguration: insertRenderablesPanelConfiguration}" />
+       </script>
+</f:for>
+</html>
index 47300d2..3cd7573 100644 (file)
+<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:layout name="FormManager" />
-
 <f:section name="MainContent">
-    <script type="text/javascript">
-        require(['{dynamicRequireJsModules.app}', '{dynamicRequireJsModules.viewModel}'], function (formManagerApp, viewModel) {
-            var FORMMANAGER_APP = formManagerApp.getInstance(
-                <f:format.htmlentitiesDecode>{formManagerAppInitialData}</f:format.htmlentitiesDecode>,
-                viewModel
-            ).run();
-        });
-    </script>
-
-    <h1><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.headline" /></h1>
 
-    <f:if condition="{forms}">
-        <f:then>
-            <div class="panel panel-space panel-default recordlist">
-                <div class="panel-heading">
-                    <span><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_existing_forms" /></span>
-                </div>
-                <div class="collapse in">
-                    <div class="table-fit">
-                        <table id="forms" class="table table-striped table-hover">
-                            <thead>
-                                <tr>
-                                    <th nowrap="nowrap" class="col-icon"><a class="btn btn-default" data-identifier="newForm" href="#"><core:icon identifier="actions-add" /></a></th>
-                                    <th nowrap="nowrap" class="col-title col-responsive"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.form_name" /></th>
-                                    <th nowrap="nowrap" class="col-control"></th>
-                                    <th nowrap="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.location" /></th>
-                                    <th nowrap="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.references" /></th>
-                                </tr>
-                            </thead>
-                            <tbody>
-                                <f:for each="{forms}" as="form">
-                                    <tr>
-                                        <td nowrap="nowrap" class="col-icon">
-                                            <f:if condition="{form.duplicateIdentifier}">
-                                                <f:then>
-                                                    <span title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.duplicate_identifier')} {form.identifier}" data-toggle="tooltip" data-placement="top">
-                                                        <core:icon identifier="overlay-missing" />
-                                                    </span>
-                                                </f:then>
-                                                <f:else>
-                                                    <span title="id={form.identifier}" data-toggle="tooltip" data-placement="right">
-                                                        <core:icon identifier="content-elements-mailform" />
-                                                    </span>
-                                                </f:else>
-                                            </f:if>
-                                        </td>
-                                        <td nowrap="nowrap" class="col-title col-responsive">
-                                            <f:if condition="{form.readOnly}">
-                                                <f:then>
-                                                    <div>{form.name}</div>
-                                                </f:then>
-                                                <f:else>
-                                                    <f:link.action controller="FormEditor" action="index" arguments="{formPersistenceIdentifier: form.persistenceIdentifier}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_form')}" data="{toggle: 'tooltip', placement: 'right'}">{form.name}</f:link.action>
-                                                </f:else>
-                                            </f:if>
+       <script type="text/javascript">
+               require(['{dynamicRequireJsModules.app}', '{dynamicRequireJsModules.viewModel}'], function (formManagerApp, viewModel) {
+                       var FORMMANAGER_APP = formManagerApp.getInstance(
+                               <f:format.htmlentitiesDecode>{formManagerAppInitialData}</f:format.htmlentitiesDecode>,
+                               viewModel
+                       ).run();
+               });
+       </script>
+       <h1><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.headline" /></h1>
+       <f:if condition="{forms}">
+               <f:then>
+                       <div class="panel panel-space panel-default recordlist">
+                               <div class="panel-heading">
+                                       <span><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_existing_forms" /></span>
+                               </div>
+                               <div class="collapse in">
+                                       <div class="table-fit">
+                                               <table id="forms" class="table table-striped table-hover">
+                                                       <thead>
+                                                               <tr>
+                                                                       <th nowrap="nowrap" class="col-icon"><a class="btn btn-default" data-identifier="newForm" href="#"><core:icon identifier="actions-add" /></a></th>
+                                                                       <th nowrap="nowrap" class="col-title col-responsive"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.form_name" /></th>
+                                                                       <th nowrap="nowrap" class="col-control"></th>
+                                                                       <th nowrap="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.location" /></th>
+                                                                       <th nowrap="nowrap"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.references" /></th>
+                                                               </tr>
+                                                       </thead>
+                                                       <tbody>
+                                                       <f:for each="{forms}" as="form">
+                                                               <tr>
+                                                                       <td nowrap="nowrap" class="col-icon">
+                                                                               <f:if condition="{form.duplicateIdentifier}">
+                                                                                       <f:then>
+                                                                                               <span title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.duplicate_identifier')} {form.identifier}" data-toggle="tooltip" data-placement="top">
+                                                                                                       <core:icon identifier="overlay-missing" />
+                                                                                               </span>
+                                                                                       </f:then>
+                                                                                       <f:else>
+                                                                                               <span title="id={form.identifier}" data-toggle="tooltip" data-placement="right">
+                                                                                                       <core:icon identifier="content-elements-mailform" />
+                                                                                               </span>
+                                                                                       </f:else>
+                                                                               </f:if>
+                                                                       </td>
+                                                                       <td nowrap="nowrap" class="col-title col-responsive">
+                                                                               <f:if condition="{form.readOnly}">
+                                                                                               <f:then>
+                                                                                                       <div>{form.name}</div>
+                                                                                               </f:then>
+                                                                                               <f:else>
+                                                                                                       <f:link.action controller="FormEditor" action="index" arguments="{formPersistenceIdentifier: form.persistenceIdentifier}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_form')}" data="{toggle: 'tooltip', placement: 'right'}">{form.name}</f:link.action>
+                                                                                               </f:else>
+                                                                               </f:if>
+                                                                       </td>
+                                                                       <td nowrap="nowrap" class="col-control">
+                                                                               <div class="btn-group" role="group">
+                                                                                       <f:if condition="{form.readOnly}">
+                                                                                               <f:then>
+                                                                                                       <button class="btn btn-default form-record-readonly" disabled="disabled" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_form_not_allowed')}"><core:icon identifier="actions-open" /></button>
+                                                                                               </f:then>
+                                                                                               <f:else>
+                                                                                                       <f:link.action controller="FormEditor" action="index" arguments="{formPersistenceIdentifier: form.persistenceIdentifier}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_form')}" class="btn btn-default form-record-open"><core:icon identifier="actions-open" /></f:link.action>
+                                                                                               </f:else>
+                                                                                       </f:if>
+                                                                                       <a href="#" data-identifier="duplicateForm" data-form-persistence-identifier="{form.persistenceIdentifier}" data-form-name="{form.name}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.duplicate_this_form')}" class="btn btn-default form-record-duplicate"><core:icon identifier="t3-form-icon-duplicate" /></a>
+                                                                                       <f:if condition="{form.removable}">
+                                                                                               <f:then>
+                                                                                                       <a href="#" data-identifier="removeForm" data-form-persistence-identifier="{form.persistenceIdentifier}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.delete_form')}" class="btn btn-default form-record-delete"><core:icon identifier="actions-edit-delete" /></a>
+                                                                                               </f:then>
+                                                                                               <f:else>
+                                                                                                       <button class="btn btn-default form-record-delete" disabled="disabled" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.delete_form_not_allowed')}"><core:icon identifier="actions-edit-delete" /></button>
+                                                                                               </f:else>
+                                                                                       </f:if>
+                                                                               </div>
+                                                                       </td>
+                                                                       <td nowrap="nowrap">{form.persistenceIdentifier}</td>
+                                                                       <td nowrap="nowrap">
+                                                                               <f:if condition="{form.referenceCount}">
+                                                                                       <f:then>
+                                                                                               <a href="#" data-identifier="showReferences" data-form-persistence-identifier="{form.persistenceIdentifier}" data-form-name="{form.name}">{form.referenceCount}</a>
+                                                                                       </f:then>
+                                                                                       <f:else>
+                                                                                               {form.referenceCount}
+                                                                                       </f:else>
+                                                                               </f:if>
+                                                                       </td>
+                                                               </tr>
+                                                       </f:for>
+                                               </tbody>
+                                       </table>
+                               </div>
+                       </div>
+               </div>
+       </f:then>
+       <f:else>
+               <f:be.infobox title="{f:translate(key: 'formManager.no_forms', extensionName:'form')}" state="-1">
+                       <p><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.no_forms" /></p>
+                       <a class="btn btn-primary" data-identifier="newForm" href="#"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.create_new_form" /></a>
+               </f:be.infobox>
+       </f:else>
+</f:if>
 
-                                        </td>
-                                        <td nowrap="nowrap" class="col-control">
-                                            <div class="btn-group" role="group">
-                                                <f:if condition="{form.readOnly}">
-                                                    <f:then>
-                                                        <button class="btn btn-default form-record-readonly" disabled="disabled" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_form_not_allowed')}"><core:icon identifier="actions-open" /></button>
-                                                    </f:then>
-                                                    <f:else>
-                                                        <f:link.action controller="FormEditor" action="index" arguments="{formPersistenceIdentifier: form.persistenceIdentifier}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.edit_form')}" class="btn btn-default form-record-open"><core:icon identifier="actions-open" /></f:link.action>
-                                                    </f:else>
-                                                </f:if>
-                                                <a href="#" data-identifier="duplicateForm" data-form-persistence-identifier="{form.persistenceIdentifier}" data-form-name="{form.name}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.duplicate_this_form')}" class="btn btn-default form-record-duplicate"><core:icon identifier="t3-form-icon-duplicate" /></a>
-                                                <f:if condition="{form.removable}">
-                                                    <f:then>
-                                                        <a href="#" data-identifier="removeForm" data-form-persistence-identifier="{form.persistenceIdentifier}" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.delete_form')}" class="btn btn-default form-record-delete"><core:icon identifier="actions-edit-delete" /></a>
-                                                    </f:then>
-                                                    <f:else>
-                                                        <button class="btn btn-default form-record-delete" disabled="disabled" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.delete_form_not_allowed')}"><core:icon identifier="actions-edit-delete" /></button>
-                                                    </f:else>
-                                                </f:if>
-                                            </div>
-                                        </td>
-                                        <td nowrap="nowrap">{form.persistenceIdentifier}</td>
-                                        <td nowrap="nowrap">
-                                            <f:if condition="{form.referenceCount}">
-                                                <f:then>
-                                                    <a href="#" data-identifier="showReferences" data-form-persistence-identifier="{form.persistenceIdentifier}" data-form-name="{form.name}">{form.referenceCount}</a>
-                                                </f:then>
-                                                <f:else>
-                                                    {form.referenceCount}
-                                                </f:else>
-                                            </f:if>
-                                        </td>
-                                    </tr>
-                                </f:for>
-                            </tbody>
-                        </table>
-                    </div>
-                </div>
-            </div>
-        </f:then>
-        <f:else>
-            <f:be.infobox title="{f:translate(key: 'formManager.no_forms', extensionName:'form')}" state="-1">
-                <p><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.no_forms"/></p>
-                <a class="btn btn-primary" data-identifier="newForm" href="#"><f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formManager.create_new_form"/></a>
-            </f:be.infobox>
-        </f:else>
-    </f:if>
-</f:section>
\ No newline at end of file
+</f:section>
+</html>
index 7c3d1fe..c92b103 100644 (file)
@@ -1,28 +1,30 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <div class="form-group">
-            <f:form.password
-                    property="{element.identifier}.password"
-                    id="{element.uniqueIdentifier}"
-                    class="{element.properties.elementClassAttribute} form-control"
-                    errorClass="{element.properties.elementErrorClassAttribute}"
-                    additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-            />
-            <f:if condition="{formvh:translateElementProperty(element: element, property: 'passwordDescription')}">
-                <span class="help-block">{formvh:translateElementProperty(element: element, property: 'passwordDescription')}</span>
-            </f:if>
-        </div>
-        <div class="form-group">
-            <f:if condition="{formvh:translateElementProperty(element: element, property: 'confirmationLabel')}">
-                <label for="{element.uniqueIdentifier}-confirmation">{formvh:translateElementProperty(element: element, property: 'confirmationLabel')}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></label>
-            </f:if>
-            <f:form.password
-                    property="{element.identifier}.confirmation"
-                    id="{element.uniqueIdentifier}-confirmation"
-                    class="{element.properties.confirmationClassAttribute} form-control"
-                    errorClass="{element.properties.elementErrorClassAttribute}"
-                    additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-            />
-        </div>
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <div class="form-group">
+                       <f:form.password
+                               property="{element.identifier}.password"
+                               id="{element.uniqueIdentifier}"
+                               class="{element.properties.elementClassAttribute} form-control"
+                               errorClass="{element.properties.elementErrorClassAttribute}"
+                               additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                       />
+                       <f:if condition="{formvh:translateElementProperty(element: element, property: 'passwordDescription')}">
+                               <span class="help-block">{formvh:translateElementProperty(element: element, property: 'passwordDescription')}</span>
+                       </f:if>
+               </div>
+               <div class="form-group">
+                       <f:if condition="{formvh:translateElementProperty(element: element, property: 'confirmationLabel')}">
+                               <label for="{element.uniqueIdentifier}-confirmation">{formvh:translateElementProperty(element: element, property: 'confirmationLabel')}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></label>
+                       </f:if>
+                       <f:form.password
+                               property="{element.identifier}.confirmation"
+                               id="{element.uniqueIdentifier}-confirmation"
+                               class="{element.properties.confirmationClassAttribute} form-control"
+                               errorClass="{element.properties.elementErrorClassAttribute}"
+                               additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                       />
+               </div>
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 13d2697..549ee47 100644 (file)
@@ -1,16 +1,18 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <div class="form-check">
-            <label class="{element.properties.elementClassAttribute} form-check-label">
-                <f:form.checkbox
-                        property="{element.identifier}"
-                        id="{element.uniqueIdentifier}"
-                        class="{element.properties.elementClassAttribute}"
-                        value="{element.properties.value}"
-                        errorClass="{element.properties.elementErrorClassAttribute}"
-                        additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-                />
-            </label>
-        </div>
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <div class="form-check">
+                       <label class="{element.properties.elementClassAttribute} form-check-label">
+                               <f:form.checkbox
+                                       property="{element.identifier}"
+                                       id="{element.uniqueIdentifier}"
+                                       class="{element.properties.elementClassAttribute}"
+                                       value="{element.properties.value}"
+                                       errorClass="{element.properties.elementErrorClassAttribute}"
+                                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                               />
+                       </label>
+               </div>
+       </f:render>
 </formvh:renderRenderable>
+</html>
index e1908d4..001663e 100644 (file)
@@ -1,23 +1,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">
 <formvh:renderRenderable renderable="{element}">
-    <f:if condition="{element.rootForm.renderingOptions.previewMode}">
-        <f:then>
-            <div class="clearfix">
-                <f:if condition="{element.properties.contentElementUid}">
-                    <f:then>
-                        <formvh:be.renderContentElementPreview contentElementUid="{element.properties.contentElementUid}" />
-                    </f:then>
-                    <f:else>
-                        <f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.elements.ContentElement.selectContentElement" />
-                    </f:else>
-                </f:if>
-            </div>
-        </f:then>
-        <f:else>
-            <f:if condition="{element.properties.contentElementUid}">
-                <div class="clearfix{f:if(condition: element.properties.elementClassAttribute, then: ' {element.properties.elementClassAttribute}')}">
-                    <f:cObject typoscriptObjectPath="lib.tx_form.contentElementRendering">{element.properties.contentElementUid}</f:cObject>
-                </div>
-            </f:if>
-        </f:else>
-    </f:if>
+       <f:if condition="{element.rootForm.renderingOptions.previewMode}">
+               <f:then>
+                       <div class="clearfix">
+                               <f:if condition="{element.properties.contentElementUid}">
+                                       <f:then>
+                                               <formvh:be.renderContentElementPreview contentElementUid="{element.properties.contentElementUid}" />
+                                       </f:then>
+                                       <f:else>
+                                               <f:translate key="LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.elements.ContentElement.selectContentElement" />
+                                       </f:else>
+                               </f:if>
+                       </div>
+               </f:then>
+               <f:else>
+                       <f:if condition="{element.properties.contentElementUid}">
+                               <div class="clearfix{f:if(condition: element.properties.elementClassAttribute, then: ' {element.properties.elementClassAttribute}')}">
+                                       <f:cObject typoscriptObjectPath="lib.tx_form.contentElementRendering">{element.properties.contentElementUid}</f:cObject>
+                               </div>
+                       </f:if>
+               </f:else>
+       </f:if>
 </formvh:renderRenderable>
+</html>
index 8983f9b..993df65 100644 (file)
@@ -1,46 +1,47 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <div class="form-inline">
-            <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-                <formvh:form.datePicker
-                    id="{element.uniqueIdentifier}"
-                    property="{element.identifier}"
-                    dateFormat="{element.properties.dateFormat}"
-                    initialDate="{element.properties.initialDate}"
-                    enableDatePicker="{element.properties.enableDatePicker}"
-                    class="{element.properties.elementClassAttribute}"
-                    errorClass="{element.properties.elementErrorClassAttribute}"
-                    additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-                    previewMode="{element.rootForm.renderingOptions.previewMode}"
-                />
-            </f:render>
-
-        <f:if condition="{element.properties.displayTimeSelector}">
-            <div class="form-group{f:if(condition: '{validationResults.errors.0}', then: ' has-error')}">
-                <label class="control-label" for="{element.uniqueIdentifier}-time">{formvh:translateElementProperty(element: element, property: 'timeSelectorHourLabel')}</label>
-                <div class="{element.properties.containerClassAttribute}">
-                    <formvh:form.timePicker
-                            id="{element.uniqueIdentifier}-time"
-                            property="{element.identifier}"
-                            initialDate="{element.properties.initialDate}"
-                            class="{element.properties.timeSelectorClassAttribute} form-control"
-                            errorClass="{element.properties.elementErrorClassAttribute}"
-                            timeType="hour"
-                    />
-                </div>
-            </div>
-            <div class="form-group{f:if(condition: '{validationResults.errors.0}', then: ' has-error')}">
-                <label class="control-label" for="{element.uniqueIdentifier}-time-minute">{formvh:translateElementProperty(element: element, property: 'timeSelectorMinuteLabel')}</label>
-                <div class="{element.properties.containerClassAttribute}">
-                    <formvh:form.timePicker
-                            id="{element.uniqueIdentifier}-time-minute"
-                            property="{element.identifier}"
-                            initialDate="{element.properties.initialDate}"
-                            class="{element.properties.timeSelectorClassAttribute} form-control"
-                            errorClass="{element.properties.elementErrorClassAttribute}"
-                            timeType="minute"
-                    />
-                </div>
-            </div>
-         </f:if>
-    </div>
+       <div class="form-inline">
+               <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+                       <formvh:form.datePicker
+                               id="{element.uniqueIdentifier}"
+                               property="{element.identifier}"
+                               dateFormat="{element.properties.dateFormat}"
+                               initialDate="{element.properties.initialDate}"
+                               enableDatePicker="{element.properties.enableDatePicker}"
+                               class="{element.properties.elementClassAttribute}"
+                               errorClass="{element.properties.elementErrorClassAttribute}"
+                               additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                               previewMode="{element.rootForm.renderingOptions.previewMode}"
+                       />
+               </f:render>
+               <f:if condition="{element.properties.displayTimeSelector}">
+                       <div class="form-group{f:if(condition: '{validationResults.errors.0}', then: ' has-error')}">
+                               <label class="control-label" for="{element.uniqueIdentifier}-time">{formvh:translateElementProperty(element: element, property: 'timeSelectorHourLabel')}</label>
+                               <div class="{element.properties.containerClassAttribute}">
+                                       <formvh:form.timePicker
+                                               id="{element.uniqueIdentifier}-time"
+                                               property="{element.identifier}"
+                                               initialDate="{element.properties.initialDate}"
+                                               class="{element.properties.timeSelectorClassAttribute} form-control"
+                                               errorClass="{element.properties.elementErrorClassAttribute}"
+                                               timeType="hour"
+                                       />
+                               </div>
+                       </div>
+                       <div class="form-group{f:if(condition: '{validationResults.errors.0}', then: ' has-error')}">
+                               <label class="control-label" for="{element.uniqueIdentifier}-time-minute">{formvh:translateElementProperty(element: element, property: 'timeSelectorMinuteLabel')}</label>
+                               <div class="{element.properties.containerClassAttribute}">
+                                       <formvh:form.timePicker
+                                               id="{element.uniqueIdentifier}-time-minute"
+                                               property="{element.identifier}"
+                                               initialDate="{element.properties.initialDate}"
+                                               class="{element.properties.timeSelectorClassAttribute} form-control"
+                                               errorClass="{element.properties.elementErrorClassAttribute}"
+                                               timeType="minute"
+                                       />
+                               </div>
+                       </div>
+               </f:if>
+       </div>
 </formvh:renderRenderable>
+</html>
index cd8334c..51646d1 100644 (file)
@@ -1,21 +1,23 @@
+<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:form.validationResults for="{element.identifier}">
-    <div class="form-group{f:if(condition: '{validationResults.errors.0}', then: ' has-error')}">
-        <label class="control-label" for="{element.uniqueIdentifier}">{formvh:translateElementProperty(element: element, property: 'label')}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></label>
-        <div class="{element.properties.containerClassAttribute}">
-            <f:format.raw>
-                {elementContent}
-                <f:if condition="{validationResults.flattenedErrors}">
-                    <span class="error help-block" role="alert">
-                        <f:for each="{validationResults.errors}" as="error">
-                            {error -> f:translate(key: 'LLL:{element.renderingOptions.translation.translationFile}:validation.error.{error.code}', arguments: error.arguments)}
-                            <br />
-                        </f:for>
-                    </span>
-                </f:if>
-            </f:format.raw>
-            <f:if condition="{element.properties.elementDescription}">
-                <span class="help-block">{formvh:translateElementProperty(element: element, property: 'elementDescription')}</span>
-            </f:if>
-        </div>
-    </div>
+       <div class="form-group{f:if(condition: '{validationResults.errors.0}', then: ' has-error')}">
+               <label class="control-label" for="{element.uniqueIdentifier}">{formvh:translateElementProperty(element: element, property: 'label')}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></label>
+               <div class="{element.properties.containerClassAttribute}">
+                       <f:format.raw>
+                               {elementContent}
+                               <f:if condition="{validationResults.flattenedErrors}">
+                                       <span class="error help-block" role="alert">
+                                               <f:for each="{validationResults.errors}" as="error">
+                                                       {error -> f:translate(key: 'LLL:{element.renderingOptions.translation.translationFile}:validation.error.{error.code}', arguments: error.arguments)}
+                                                       <br />
+                                               </f:for>
+                                       </span>
+                               </f:if>
+                       </f:format.raw>
+                       <f:if condition="{element.properties.elementDescription}">
+                               <span class="help-block">{formvh:translateElementProperty(element: element, property: 'elementDescription')}</span>
+                       </f:if>
+               </div>
+       </div>
 </f:form.validationResults>
+</html>
index 24deaff..96eb49c 100644 (file)
@@ -1 +1,3 @@
- <span class="required">*</span>
+<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">
+<span class="required">*</span>
+</html>
index 870fe37..eb999fb 100644 (file)
@@ -1,10 +1,12 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <fieldset id="{element.uniqueIdentifier}" class="form-group{f:if(condition: element.properties.elementClassAttribute, then: ' {element.properties.elementClassAttribute}')}">
-        <f:if condition="{element.label}">
-            <legend>{formvh:translateElementProperty(element: element, property: 'label')}</legend>
-        </f:if>
-        <f:for each="{element.elements}" as="element">
-            <f:render partial="{element.templateName}" arguments="{element: element}" />
-        </f:for>
-    </fieldset>
+       <fieldset id="{element.uniqueIdentifier}" class="form-group{f:if(condition: element.properties.elementClassAttribute, then: ' {element.properties.elementClassAttribute}')}">
+               <f:if condition="{element.label}">
+                       <legend>{formvh:translateElementProperty(element: element, property: 'label')}</legend>
+               </f:if>
+               <f:for each="{element.elements}" as="element">
+                       <f:render partial="{element.templateName}" arguments="{element: element}" />
+               </f:for>
+       </fieldset>
 </formvh:renderRenderable>
+</html>
index a78e2f3..6f59be7 100644 (file)
@@ -1,16 +1,18 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <formvh:form.uploadedResource
-            property="{element.identifier}"
-            as="resource"
-            additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-            accept="{element.properties.allowedMimeTypes}"
-        >
-            <f:if condition="{resource}">
-                <div id="{element.uniqueIdentifier}-preview">
-                    {resource.originalResource.originalFile.name}
-                </div>
-            </f:if>
-        </formvh:form.uploadedResource>
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <formvh:form.uploadedResource
+                       property="{element.identifier}"
+                       as="resource"
+                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                       accept="{element.properties.allowedMimeTypes}"
+               >
+                       <f:if condition="{resource}">
+                               <div id="{element.uniqueIdentifier}-preview">
+                                       {resource.originalResource.originalFile.name}
+                               </div>
+                       </f:if>
+               </formvh:form.uploadedResource>
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 46eacd2..dc83c31 100644 (file)
@@ -1,25 +1,27 @@
+<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">
 <nav class="form-navigation">
-    <div class="btn-toolbar" role="toolbar">
-        <div class="btn-group" role="group">
-            <f:if condition="{form.previousPage}">
-                <span class="previous">
-                    <f:form.button property="__currentPage" value="{form.previousPage.index}" class="btn btn-cancel" formnovalidate="formnovalidate">{formvh:translateElementProperty(element: form.currentPage, renderingOptionProperty: 'previousButtonLabel')}</f:form.button>
-                </span>
-            </f:if>
-            <f:if condition="{form.nextPage}">
-                <f:then>
-                    <span class="next">
-                        <f:form.button property="__currentPage" value="{form.nextPage.index}" class="btn btn-primary">{formvh:translateElementProperty(element: form.currentPage, renderingOptionProperty: 'nextButtonLabel')}</f:form.button>
-                    </span>
-                </f:then>
-                <f:else>
-                    <span class="next submit">
-                        <f:form.button property="__currentPage" value="{form.pages -> f:count()}" class="btn btn-primary">
-                            {formvh:translateElementProperty(element: form, renderingOptionProperty: 'submitButtonLabel')}
-                        </f:form.button>
-                    </span>
-                </f:else>
-            </f:if>
-        </div>
-    </div>
-</nav>
\ No newline at end of file
+       <div class="btn-toolbar" role="toolbar">
+               <div class="btn-group" role="group">
+                       <f:if condition="{form.previousPage}">
+                               <span class="previous">
+                                       <f:form.button property="__currentPage" value="{form.previousPage.index}" class="btn btn-cancel" formnovalidate="formnovalidate">{formvh:translateElementProperty(element: form.currentPage, renderingOptionProperty: 'previousButtonLabel')}</f:form.button>
+                               </span>
+                       </f:if>
+                       <f:if condition="{form.nextPage}">
+                               <f:then>
+                                       <span class="next">
+                                               <f:form.button property="__currentPage" value="{form.nextPage.index}" class="btn btn-primary">{formvh:translateElementProperty(element: form.currentPage, renderingOptionProperty: 'nextButtonLabel')}</f:form.button>
+                                       </span>
+                               </f:then>
+                               <f:else>
+                                       <span class="next submit">
+                                               <f:form.button property="__currentPage" value="{form.pages -> f:count()}" class="btn btn-primary">
+                                                       {formvh:translateElementProperty(element: form, renderingOptionProperty: 'submitButtonLabel')}
+                                               </f:form.button>
+                                       </span>
+                               </f:else>
+                       </f:if>
+               </div>
+       </div>
+</nav>
+</html>
index a5ad24a..0511063 100644 (file)
@@ -1,7 +1,9 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:form.hidden
-        property="{element.identifier}"
-        id="{element.uniqueIdentifier}"
-        additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-    />
+       <f:form.hidden
+               property="{element.identifier}"
+               id="{element.uniqueIdentifier}"
+               additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+       />
 </formvh:renderRenderable>
+</html>
index 315e642..8272bbd 100644 (file)
@@ -1,8 +1,10 @@
+<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:if condition="{element.properties.renderAsHiddenField}">
-    <f:then>
-        <f:form.hidden property="{element.identifier}" id="{element.uniqueIdentifier}" additionalAttributes="{autocomplete: 'off'}" />
-    </f:then>
-    <f:else>
-        <f:form.textfield property="{element.identifier}" id="{element.uniqueIdentifier}" class="{element.properties.elementClassAttribute}" additionalAttributes="{autocomplete: 'off'}" tabindex="-1" style="{element.properties.styleAttribute}" />
-    </f:else>
-</f:if>
\ No newline at end of file
+       <f:then>
+               <f:form.hidden property="{element.identifier}" id="{element.uniqueIdentifier}" additionalAttributes="{autocomplete: 'off'}" />
+       </f:then>
+       <f:else>
+               <f:form.textfield property="{element.identifier}" id="{element.uniqueIdentifier}" class="{element.properties.elementClassAttribute}" additionalAttributes="{autocomplete: 'off'}" tabindex="-1" style="{element.properties.styleAttribute}" />
+       </f:else>
+</f:if>
+</html>
index c2b4e25..9cea3b7 100644 (file)
@@ -1,18 +1,20 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <formvh:form.uploadedResource
-            property="{element.identifier}"
-            as="image"
-            additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-            accept="{element.properties.allowedMimeTypes}"
-        >
-            <f:if condition="{image}">
-                <div id="{element.uniqueIdentifier}-preview">
-                    <a href="{f:uri.image(image: image, maxWidth: element.properties.imageLinkMaxWidth)}" class="{element.properties.elementClassAttribute}">
-                        <f:image image="{image}" maxWidth="{element.properties.imageMaxWidth}" maxHeight="{element.properties.imageMaxHeight}" alt="{formvh:translateElementProperty(element: element, property: 'altText')}" />
-                    </a>
-                </div>
-            </f:if>
-        </formvh:form.uploadedResource>
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <formvh:form.uploadedResource
+                       property="{element.identifier}"
+                       as="image"
+                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                       accept="{element.properties.allowedMimeTypes}"
+               >
+                       <f:if condition="{image}">
+                               <div id="{element.uniqueIdentifier}-preview">
+                                       <a href="{f:uri.image(image: image, maxWidth: element.properties.imageLinkMaxWidth)}" class="{element.properties.elementClassAttribute}">
+                                               <f:image image="{image}" maxWidth="{element.properties.imageMaxWidth}" maxHeight="{element.properties.imageMaxHeight}" alt="{formvh:translateElementProperty(element: element, property: 'altText')}" />
+                                       </a>
+                               </div>
+                       </f:if>
+               </formvh:form.uploadedResource>
+       </f:render>
 </formvh:renderRenderable>
+</html>
index fdb53a6..1998a69 100644 (file)
@@ -1,21 +1,23 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <div id="{element.uniqueIdentifier}" class="inputs-list">
-            <f:for each="{element.properties.options}" as="label" key="value">
-                <div class="form-check">
-                    <label class="form-check-label">
-                        <f:form.checkbox
-                                property="{element.identifier}"
-                                multiple="1"
-                                class="{element.properties.elementClassAttribute}"
-                                value="{value}"
-                                errorClass="{element.properties.elementErrorClassAttribute}"
-                                additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-                        />
-                        <span>{formvh:translateElementProperty(element: element, property: 'options.{value}')}</span>
-                    </label>
-                </div>
-            </f:for>
-        </div>
-    </f:render>
-</formvh:renderRenderable>
\ No newline at end of file
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <div id="{element.uniqueIdentifier}" class="inputs-list">
+                       <f:for each="{element.properties.options}" as="label" key="value">
+                               <div class="form-check">
+                                       <label class="form-check-label">
+                                               <f:form.checkbox
+                                                       property="{element.identifier}"
+                                                       multiple="1"
+                                                       class="{element.properties.elementClassAttribute}"
+                                                       value="{value}"
+                                                       errorClass="{element.properties.elementErrorClassAttribute}"
+                                                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                                               />
+                                               <span>{formvh:translateElementProperty(element: element, property: 'options.{value}')}</span>
+                                       </label>
+                               </div>
+                       </f:for>
+               </div>
+       </f:render>
+</formvh:renderRenderable>
+</html>
index 6f5557d..6bd80ac 100644 (file)
@@ -1,13 +1,15 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <f:form.select
-                property="{element.identifier}"
-                id="{element.uniqueIdentifier}"
-                class="{element.properties.elementClassAttribute} form-control"
-                options="{formvh:translateElementProperty(element: element, property: 'options')}"
-                multiple="multiple"
-                errorClass="{element.properties.elementErrorClassAttribute}"
-                additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-        />
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <f:form.select
+                       property="{element.identifier}"
+                       id="{element.uniqueIdentifier}"
+                       class="{element.properties.elementClassAttribute} form-control"
+                       options="{formvh:translateElementProperty(element: element, property: 'options')}"
+                       multiple="multiple"
+                       errorClass="{element.properties.elementErrorClassAttribute}"
+                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+               />
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 11b7b25..190d01c 100644 (file)
@@ -1,8 +1,10 @@
+<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">
 <formvh:renderRenderable renderable="{page}">
-    <f:if condition="{page.label}">
-        <h2>{formvh:translateElementProperty(element: page, property: 'label')}</h2>
-    </f:if>
-    <f:for each="{page.elements}" as="element">
-        <f:render partial="{element.templateName}" arguments="{element: element}" />
-    </f:for>
+       <f:if condition="{page.label}">
+               <h2>{formvh:translateElementProperty(element: page, property: 'label')}</h2>
+       </f:if>
+       <f:for each="{page.elements}" as="element">
+               <f:render partial="{element.templateName}" arguments="{element: element}" />
+       </f:for>
 </formvh:renderRenderable>
+</html>
index 60ecab8..b43f5fd 100644 (file)
@@ -1,11 +1,13 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <f:form.password
-                property="{element.identifier}"
-                id="{element.uniqueIdentifier}"
-                class="{element.properties.elementClassAttribute} form-control"
-                additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-                errorClass="{element.properties.elementErrorClassAttribute}"
-        />
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <f:form.password
+                       property="{element.identifier}"
+                       id="{element.uniqueIdentifier}"
+                       class="{element.properties.elementClassAttribute} form-control"
+                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                       errorClass="{element.properties.elementErrorClassAttribute}"
+               />
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 46a8d23..c47d217 100644 (file)
@@ -1,22 +1,24 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <div id="{element.uniqueIdentifier}" class="inputs-list">
-            <div class="form-group">
-                <f:for each="{element.properties.options}" as="label" key="value">
-                    <div class="form-check">
-                        <label class="form-check-label">
-                            <f:form.radio
-                                    property="{element.identifier}"
-                                    class="{element.properties.elementClassAttribute} form-check-input"
-                                    value="{value}"
-                                    errorClass="{element.properties.elementErrorClassAttribute}"
-                                    additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-                            />
-                            <span>{formvh:translateElementProperty(element: element, property: 'options.{value}')}</span>
-                        </label>
-                    </div>
-                </f:for>
-            </div>
-        </div>
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <div id="{element.uniqueIdentifier}" class="inputs-list">
+                       <div class="form-group">
+                               <f:for each="{element.properties.options}" as="label" key="value">
+                                       <div class="form-check">
+                                               <label class="form-check-label">
+                                                       <f:form.radio
+                                                               property="{element.identifier}"
+                                                               class="{element.properties.elementClassAttribute} form-check-input"
+                                                               value="{value}"
+                                                               errorClass="{element.properties.elementErrorClassAttribute}"
+                                                               additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+                                                       />
+                                                       <span>{formvh:translateElementProperty(element: element, property: 'options.{value}')}</span>
+                                               </label>
+                                       </div>
+                               </f:for>
+                       </div>
+               </div>
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 6ff1ad6..b343a7c 100644 (file)
@@ -1,12 +1,14 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <f:form.select
-                property="{element.identifier}"
-                id="{element.uniqueIdentifier}"
-                options="{formvh:translateElementProperty(element: element, property: 'options')}"
-                class="{element.properties.elementClassAttribute} form-control"
-                errorClass="{element.properties.elementErrorClassAttribute}"
-                additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-        />
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <f:form.select
+                       property="{element.identifier}"
+                       id="{element.uniqueIdentifier}"
+                       options="{formvh:translateElementProperty(element: element, property: 'options')}"
+                       class="{element.properties.elementClassAttribute} form-control"
+                       errorClass="{element.properties.elementErrorClassAttribute}"
+                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+               />
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 44d42ed..1241e9c 100644 (file)
@@ -1,10 +1,12 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <div class="clearfix">
-        <f:if condition="{element.label}">
-            <h2>{formvh:translateElementProperty(element: element, property: 'label')}</h2>
-        </f:if>
-        <f:if condition="{element.properties.text}">
-            <p{f:if(condition: element.properties.elementClassAttribute, then: ' class="{element.properties.elementClassAttribute}"')}>{formvh:translateElementProperty(element: element, property: 'text') -> f:format.nl2br()}</p>
-        </f:if>
-    </div>
+       <div class="clearfix">
+               <f:if condition="{element.label}">
+                       <h2>{formvh:translateElementProperty(element: element, property: 'label')}</h2>
+               </f:if>
+               <f:if condition="{element.properties.text}">
+                       <p{f:if(condition: element.properties.elementClassAttribute, then: ' class="{element.properties.elementClassAttribute}"')}>{formvh:translateElementProperty(element: element, property: 'text') -> f:format.nl2br()}</p>
+               </f:if>
+       </div>
 </formvh:renderRenderable>
+</html>
index b89b34b..93eba35 100644 (file)
@@ -1,44 +1,46 @@
+<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">
 <formvh:renderRenderable renderable="{page}">
-    <fieldset class="form-group">
-        <f:if condition="{page.label}">
-            <legend>{formvh:translateElementProperty(element: page, property: 'label')}</legend>
-        </f:if>
-        <div class="table-responsive">
-            <table class="table">
-                <formvh:renderAllFormValues renderable="{page.rootForm}" as="formValue">
-                    <tr>
-                        <td class="summary-table-first-col">{formvh:translateElementProperty(element: formValue.element, property: 'label')}</td>
-                        <td>
-                            <f:if condition="{formValue.value}">
-                                <f:then>
-                                    <f:if condition="{0: formValue.element.type} == {0: 'ImageUpload'}">
-                                        <f:then>
-                                            <f:image image="{formValue.value}" maxWidth="{formValue.element.properties.imageMaxWidth}" maxHeight="{formValue.element.properties.imageMaxHeight}" alt="{formvh:translateElementProperty(element: formValue.element, property: 'altText')}" />
-                                        </f:then>
-                                        <f:else>
-                                            <f:if condition="{formValue.isMultiValue}">
-                                                <f:then>
-                                                    <ul>
-                                                        <f:for each="{formValue.processedValue}" as="value">
-                                                            <li>{value}</li>
-                                                        </f:for>
-                                                    </ul>
-                                                </f:then>
-                                                <f:else>
-                                                    {formValue.processedValue}
-                                                </f:else>
-                                            </f:if>
-                                        </f:else>
-                                    </f:if>
-                                </f:then>
-                                <f:else>
-                                    -
-                                </f:else>
-                            </f:if>
-                        </td>
-                    </tr>
-                </formvh:renderAllFormValues>
-            </table>
-        </div>
-    </fieldset>
+       <fieldset class="form-group">
+               <f:if condition="{page.label}">
+                       <legend>{formvh:translateElementProperty(element: page, property: 'label')}</legend>
+               </f:if>
+               <div class="table-responsive">
+                       <table class="table">
+                               <formvh:renderAllFormValues renderable="{page.rootForm}" as="formValue">
+                                       <tr>
+                                               <td class="summary-table-first-col">{formvh:translateElementProperty(element: formValue.element, property: 'label')}</td>
+                                               <td>
+                                                       <f:if condition="{formValue.value}">
+                                                               <f:then>
+                                                                       <f:if condition="{0: formValue.element.type} == {0: 'ImageUpload'}">
+                                                                               <f:then>
+                                                                                       <f:image image="{formValue.value}" maxWidth="{formValue.element.properties.imageMaxWidth}" maxHeight="{formValue.element.properties.imageMaxHeight}" alt="{formvh:translateElementProperty(element: formValue.element, property: 'altText')}" />
+                                                                               </f:then>
+                                                                               <f:else>
+                                                                                       <f:if condition="{formValue.isMultiValue}">
+                                                                                               <f:then>
+                                                                                                       <ul>
+                                                                                                               <f:for each="{formValue.processedValue}" as="value">
+                                                                                                                       <li>{value}</li>
+                                                                                                               </f:for>
+                                                                                                       </ul>
+                                                                                               </f:then>
+                                                                                               <f:else>
+                                                                                                       {formValue.processedValue}
+                                                                                               </f:else>
+                                                                                       </f:if>
+                                                                               </f:else>
+                                                                       </f:if>
+                                                               </f:then>
+                                                               <f:else>
+                                                                       -
+                                                               </f:else>
+                                                       </f:if>
+                                               </td>
+                                       </tr>
+                               </formvh:renderAllFormValues>
+                       </table>
+               </div>
+       </fieldset>
 </formvh:renderRenderable>
+</html>
index 06b6806..b997ec6 100644 (file)
@@ -1,11 +1,13 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <f:form.textfield
-                property="{element.identifier}"
-                id="{element.uniqueIdentifier}"
-                class="{element.properties.elementClassAttribute} form-control"
-                errorClass="{element.properties.elementErrorClassAttribute}"
-                additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-        />
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <f:form.textfield
+                       property="{element.identifier}"
+                       id="{element.uniqueIdentifier}"
+                       class="{element.properties.elementClassAttribute} form-control"
+                       errorClass="{element.properties.elementErrorClassAttribute}"
+                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+               />
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 11f7231..757f3e8 100644 (file)
@@ -1,13 +1,15 @@
+<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">
 <formvh:renderRenderable renderable="{element}">
-    <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
-        <f:form.textarea
-                property="{element.identifier}"
-                id="{element.uniqueIdentifier}"
-                class="{element.properties.elementClassAttribute} form-control"
-                rows="{element.properties.rows}"
-                cols="{element.properties.cols}"
-                errorClass="{element.properties.elementErrorClassAttribute}"
-                additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
-        />
-    </f:render>
+       <f:render partial="Field/Field" arguments="{element: element}" contentAs="elementContent">
+               <f:form.textarea
+                       property="{element.identifier}"
+                       id="{element.uniqueIdentifier}"
+                       class="{element.properties.elementClassAttribute} form-control"
+                       rows="{element.properties.rows}"
+                       cols="{element.properties.cols}"
+                       errorClass="{element.properties.elementErrorClassAttribute}"
+                       additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
+               />
+       </f:render>
 </formvh:renderRenderable>
+</html>
index 6a4d07d..ffa1faf 100644 (file)
@@ -1 +1,3 @@
+<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">
 <formvh:renderRenderable renderable="{element}"> </formvh:renderRenderable>
+</html>
index 9efd905..2dc9f43 100644 (file)
@@ -1,45 +1,45 @@
+{namespace formvh=TYPO3\CMS\Form\ViewHelpers}
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-    <title></title>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <meta name="format-detection" content="telephone=no">
+       <title></title>
+       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+       <meta name="format-detection" content="telephone=no">
 </head>
-
 <body>
-    <table width="600" cellpadding="0" cellspacing="0" border="0">
-        <formvh:renderAllFormValues renderable="{form.formDefinition}" as="formValue">
-            <tr>
-                <td width="600" valign="top" align="left">{formvh:translateElementProperty(element: formValue.element, property: 'label')}</td>
-                <td width="600" valign="top" align="left">
-                    <f:if condition="{formValue.value}">
-                        <f:then>
-                            <f:if condition="{formValue.isMultiValue}">
-                                <f:then>
-                                    <table cellspacing="0" border="0">
-                                        <f:for each="{formValue.processedValue}" as="value">
-                                            <tr>
-                                                <td>{value}</td>
-                                            </tr>
-                                        </f:for>
-                                    </table>
-                                </f:then>
-                                <f:else>
-                                    <table cellspacing="0" border="0">
-                                        <tr>
-                                            <td>{formValue.processedValue}</td>
-                                        </tr>
-                                    </table>
-                                </f:else>
-                            </f:if>
-                        </f:then>
-                        <f:else>
-                            -
-                        </f:else>
-                    </f:if>
-                </td>
-            </tr>
-        </formvh:renderAllFormValues>
-    </table>
+       <table width="600" cellpadding="0" cellspacing="0" border="0">
+               <formvh:renderAllFormValues renderable="{form.formDefinition}" as="formValue">
+                       <tr>
+                               <td width="600" valign="top" align="left">{formvh:translateElementProperty(element: formValue.element, property: 'label')}</td>
+                               <td width="600" valign="top" align="left">
+                                       <f:if condition="{formValue.value}">
+                                               <f:then>
+                                                       <f:if condition="{formValue.isMultiValue}">
+                                                               <f:then>
+                                                                       <table cellspacing="0" border="0">
+                                                                               <f:for each="{formValue.processedValue}" as="value">
+                                                                                       <tr>
+                                                                                               <td>{value}</td>
+                                                                                       </tr>
+                                                                               </f:for>
+                                                                       </table>
+                                                               </f:then>
+                                                               <f:else>
+                                                                       <table cellspacing="0" border="0">
+                                                                               <tr>
+                                                                                       <td>{formValue.processedValue}</td>
+                                                                               </tr>
+                                                                       </table>
+                                                               </f:else>
+                                                       </f:if>
+                                               </f:then>
+                                               <f:else>
+                                                       -
+                                               </f:else>
+                                       </f:if>
+                               </td>
+                       </tr>
+               </formvh:renderAllFormValues>
+       </table>
 </body>
 </html>
index 675762c..e848131 100644 (file)
@@ -1,3 +1,4 @@
+<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">
 <formvh:renderAllFormValues renderable="{form.formDefinition}" as="formValue"><f:spaceless>
     <f:if condition="{formValue.isMultiValue}">
         <f:then>
@@ -11,3 +12,4 @@
     </f:if>
 </f:spaceless>
 </formvh:renderAllFormValues>
+</html>
index c741c72..0f9551b 100644 (file)
@@ -1,19 +1,20 @@
+<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">
 <formvh:renderRenderable renderable="{form}">
-    <formvh: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}"
-    >
-        <f:render partial="{form.currentPage.templateName}" arguments="{page: form.currentPage}" />
-
-        <div class="actions">
-            <f:render partial="Form/Navigation" arguments="{form: form}" />
-        </div>
-    </formvh:form>
+               <formvh: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}"
+               >
+                       <f:render partial="{form.currentPage.templateName}" arguments="{page: form.currentPage}" />
+                       <div class="actions">
+                               <f:render partial="Form/Navigation" arguments="{form: form}" />
+                       </div>
+               </formvh:form>
 </formvh:renderRenderable>
+</html>
index 96212dc..f814ff3 100644 (file)
@@ -1,4 +1,6 @@
+<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:flashMessages />
 <f:if condition="{formConfiguration}">
-    <formvh:render overrideConfiguration="{formConfiguration}"/>
+       <formvh:render overrideConfiguration="{formConfiguration}" />
 </f:if>
+</html>