Skip to content

Commit 74ad0eb

Browse files
committed
minor #5649 [RFR] Fixing typo in Symfony version for ButtonType (salahm)
This PR was merged into the 2.3 branch. Discussion ---------- [RFR] Fixing typo in Symfony version for ButtonType ButtonType was introduced in Symfony 2.3. See : http://symfony.com/blog/new-in-symfony-2-3-buttons-support-in-forms Commits ------- a450814 Fixing typo in Symfony version for ButtonType
2 parents d35fd8f + a450814 commit 74ad0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

best_practices/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ makes them easier to re-use later.
8585

8686
Add buttons in the templates, not in the form classes or the controllers.
8787

88-
Since Symfony 2.5, you can add buttons as fields on your form. This is a nice
88+
Since Symfony 2.3, you can add buttons as fields on your form. This is a nice
8989
way to simplify the template that renders your form. But if you add the buttons
9090
directly in your form class, this would effectively limit the scope of that form:
9191

0 commit comments

Comments
 (0)