From 35decbbbab353d764ab9443337deae34baed96d8 Mon Sep 17 00:00:00 2001 From: mtness <noreply@example.com> Date: Wed, 30 Sep 2020 11:51:01 +0000 Subject: [PATCH] [DOCS] Fix typoscript example in EXT:form Indentation and closing braces are fixed. Releases: master, 10.4 Resolves: #92453 Change-Id: I6a6cc74a9d60a358f13c71e3bc8cddaf91ab77ee Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65966 Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de> --- .../I/Concepts/FrontendRendering/Index.rst | 58 +++++++++---------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/typo3/sysext/form/Documentation/I/Concepts/FrontendRendering/Index.rst b/typo3/sysext/form/Documentation/I/Concepts/FrontendRendering/Index.rst index 289806b43365..774de8ecf8f2 100644 --- a/typo3/sysext/form/Documentation/I/Concepts/FrontendRendering/Index.rst +++ b/typo3/sysext/form/Documentation/I/Concepts/FrontendRendering/Index.rst @@ -805,37 +805,33 @@ to the field and adds a page URL as translation argument: .. code-block:: typoscript plugin.tx_form { - settings { - formDefinitionOverrides { - <form-id> { - renderables { - 0 { - # Page - renderables { - fieldWithTranslationArguments { - renderingOptions { - translation { - arguments { - label { - 0 = TEXT - 0.typolink { - # Terms and conditions page, could be - # set also via TypoScript constants - parameter = 42 - returnLast = url - } - } - } - } - } - } - } - } - } - } - } - } - } + settings { + formDefinitionOverrides { + <form-id> { + renderables { + 0 { + # Page + renderables { + fieldWithTranslationArguments { + renderingOptions { + translation { + arguments { + label { + 0 = TEXT + 0.typolink { + # Terms and conditions page, could be + # set also via TypoScript constants + parameter = 42 + returnLast = url + } + } + } + } + } + } + } + } + } } } } -- GitLab