Skip to content

Commit 0dc7543

Browse files
Ulrichweaverryan
authored andcommitted
Update book/forms.rst
field_label, field_widget, field_errors and fields_row are deprecated in sf 2.1
1 parent 41de7f3 commit 0dc7543

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/forms.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,13 +1221,13 @@ rendered (e.g. ``label``, ``widget``, ``errors``, etc). By default, there
12211221
are 4 possible *parts* of a form that can be rendered:
12221222

12231223
+-------------+--------------------------+---------------------------------------------------------+
1224-
| ``label`` | (e.g. ``field_label``) | renders the field's label |
1224+
| ``label`` | (e.g. ``form_label``) | renders the field's label |
12251225
+-------------+--------------------------+---------------------------------------------------------+
1226-
| ``widget`` | (e.g. ``field_widget``) | renders the field's HTML representation |
1226+
| ``widget`` | (e.g. ``form_widget``) | renders the field's HTML representation |
12271227
+-------------+--------------------------+---------------------------------------------------------+
1228-
| ``errors`` | (e.g. ``field_errors``) | renders the field's errors |
1228+
| ``errors`` | (e.g. ``form_errors``) | renders the field's errors |
12291229
+-------------+--------------------------+---------------------------------------------------------+
1230-
| ``row`` | (e.g. ``field_row``) | renders the field's entire row (label, widget & errors) |
1230+
| ``row`` | (e.g. ``form_row``) | renders the field's entire row (label, widget & errors) |
12311231
+-------------+--------------------------+---------------------------------------------------------+
12321232

12331233
.. note::

0 commit comments

Comments
 (0)