form_file_collection/Tests/Fixtures/form_file_collection_example/Configuration/Forms/ExampleCustomTemplate.form.yaml
Daniel Siepmann 5bb586a19a
Add files to template (#2)
Allow to implement custom templates working with files, e.g. providing a
thumbnail, link to full file, etc.
2023-07-24 14:13:08 +02:00

37 lines
877 B
YAML

renderingOptions:
submitButtonLabel: Submit
partialRootPaths:
20: EXT:form_file_collection_example/Resources/Private/Partials/
type: Form
identifier: test
label: Test
prototypeName: standard
renderables:
-
renderingOptions:
previousButtonLabel: 'Previous step'
nextButtonLabel: 'Next step'
type: Page
identifier: page-1
label: First Step
renderables:
-
type: FileCollectionCustomTemplate
identifier: file-collection-1
label: 'File Collection'
properties:
fileCollection:
uid: 1
-
defaultValue: ''
type: Text
identifier: text-1
label: 'Example text field'
-
renderingOptions:
previousButtonLabel: 'Previous step'
nextButtonLabel: 'Next step'
type: SummaryPage
identifier: summarypage-1
label: 'Summary step'