diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt index 673111b025..f6934b18bd 100644 --- a/docs/topics/forms/index.txt +++ b/docs/topics/forms/index.txt @@ -567,7 +567,7 @@ Reusable field group templates .. versionadded:: 5.0 Each field is available as an attribute of the form, using -``{{form.name_of_field }}`` in a template. A field has a +``{{ form.name_of_field }}`` in a template. A field has a :meth:`~django.forms.BoundField.as_field_group` method which renders the related elements of the field as a group, its label, widget, errors, and help text.