diff options
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index e4630a468b..219a6b7f23 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -258,7 +258,7 @@ foundation for custom widgets. ``Widget`` subclasses can provide custom context values by overriding this method. - .. method:: id_for_label(self, id_) + .. method:: id_for_label(id_) Returns the HTML ID attribute of this widget for use by a ``<label>``, given the ID of the field. Returns ``None`` if an ID isn't available. |
