Commit a2864b3
committed
minor symfony#10068 Add necessary call to Form::isSubmitted and remove boilerplate (keichinger, javiereguiluz)
This PR was submitted for the master branch but it was merged into the 4.0 branch instead (closes symfony#10068).
Discussion
----------
Add necessary call to Form::isSubmitted and remove boilerplate
This code example was the last parts of the docs that wasn't calling `Form::isSubmitted()` as required as of Symfony 4.0.
Other than that I've simplified the action a little bit to remove some rather unnecessary noise in an already little more complicated example to ease reading and understanding it. If you want to keep the boilerplate, I'm more than happy to remove it from this PR :)
Commits
-------
ae265d7 Update form_collections.rst
f140342 Minor refactor
6f2c417 Add necessary call to Form::isSubmitted and remove boilerplate1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
| 658 | + | |
659 | 659 | | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
| 660 | + | |
664 | 661 | | |
665 | 662 | | |
666 | 663 | | |
| |||
675 | 672 | | |
676 | 673 | | |
677 | 674 | | |
678 | | - | |
679 | | - | |
| 675 | + | |
680 | 676 | | |
681 | 677 | | |
682 | 678 | | |
| |||
0 commit comments