File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,19 @@ The bundle provides a "step" field for the Form Builder in eZ Platform EE which
7
7
This bundle provides a default (and very basic) template that uses Bootstrap 4 to create a carousel which is used for
8
8
step transitions, but you can use any solution you prefer. To do so, you will have to override the default template
9
9
(` EzPlatformFormBuilderMultiStepFormsBundle::form_steps.html.twig ` ).
10
+
10
11
If Step Field is not the very first field used in the Form, fields before first Step Field will be rendered below the
11
12
carousel (in the default template). If there is no Step Field inside Form it will be rendered normally.
12
13
Step Field has couple of attributes:
14
+
13
15
` step_class ` - the default template will add this CSS class to the step ` <div> ` tag.
16
+
14
17
` next_label ` - if this field is not empty, the default template will render the "next step" button with the defined
15
18
label.
19
+
16
20
` back_label ` - if this field is not empty, the default template will render the "previous step" button with the defined
17
21
label.
22
+
18
23
` custom_template ` - if this field is not empty, the default template will use this custom twig file for this step
19
24
template (` {% include step.step_field.vars.attr["custom_template"] with { 'step': step } %} ` )
20
25
You can’t perform that action at this time.
0 commit comments