Skip to content

Commit bb6ecdf

Browse files
Fixed formatting for README.md
1 parent 7951303 commit bb6ecdf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ The bundle provides a "step" field for the Form Builder in eZ Platform EE which
77
This bundle provides a default (and very basic) template that uses Bootstrap 4 to create a carousel which is used for
88
step transitions, but you can use any solution you prefer. To do so, you will have to override the default template
99
(`EzPlatformFormBuilderMultiStepFormsBundle::form_steps.html.twig`).
10+
1011
If Step Field is not the very first field used in the Form, fields before first Step Field will be rendered below the
1112
carousel (in the default template). If there is no Step Field inside Form it will be rendered normally.
1213
Step Field has couple of attributes:
14+
1315
`step_class` - the default template will add this CSS class to the step `<div>` tag.
16+
1417
`next_label` - if this field is not empty, the default template will render the "next step" button with the defined
1518
label.
19+
1620
`back_label` - if this field is not empty, the default template will render the "previous step" button with the defined
1721
label.
22+
1823
`custom_template` - if this field is not empty, the default template will use this custom twig file for this step
1924
template (`{% include step.step_field.vars.attr["custom_template"] with { 'step': step } %}`)
2025

0 commit comments

Comments
 (0)