Skip to content

Commit a450814

Browse files
committed
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
1 parent d35fd8f commit a450814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

best_practices/forms.rst

+1-1
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)