Closed Florian-B closed 7 years ago
This should be covered by tests.
Done ! I added several tests:
On step one:
craue_formflow_render_reset_button
=> Must have reset button and button count at 2craue_formflow_render_reset_button: true
=> Must have reset button and button count at 2craue_formflow_render_reset_button: false
=> Must not have reset button and button count at 1On step two:
craue_formflow_render_reset_button: true
=> Must have reset button and button count at 3craue_formflow_render_reset_button: false
=> Must not have reset button and button count at 2Great, could you finally squash all commits into one?
Done 😄
Thank you, @Florian-B.
This feature adds an option to remove the reset button because this one is not always necessary.
To remove it, we need to pass an option named
craue_formflow_render_reset_button
when includeCraueFormFlowBundle:FormFlow:buttons.html.twig
.Exemple: