[2.2.x] Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
Thanks Emmanuel Cazenave for the report. Backport of 3f8ee58ccc5c55e62625ad797ddde05778fe1bec from master
This commit is contained in:
parent
16e5e8ff5a
commit
11cdfb3408
@ -401,7 +401,7 @@ foundation for custom widgets.
|
|||||||
.. code-block:: html+django
|
.. code-block:: html+django
|
||||||
|
|
||||||
{% for subwidget in widget.subwidgets %}
|
{% for subwidget in widget.subwidgets %}
|
||||||
{% include widget.template_name with widget=subwidget %}
|
{% include subwidget.template_name with widget=subwidget %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
Here's an example widget which subclasses :class:`MultiWidget` to display
|
Here's an example widget which subclasses :class:`MultiWidget` to display
|
||||||
|
Loading…
x
Reference in New Issue
Block a user