We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b7024 commit bcad5adCopy full SHA for bcad5ad
docs/topics/forms/index.txt
@@ -781,12 +781,10 @@ Useful attributes on ``{{ field }}`` include:
781
<label for="id_email">Email address:</label>
782
783
``{{ field.legend_tag }}``
784
-
785
Similar to ``field.label_tag`` but uses a ``<legend>`` tag in place of
786
``<label>``, for widgets with multiple inputs wrapped in a ``<fieldset>``.
787
788
``{{ field.use_fieldset }}``
789
790
This attribute is ``True`` if the form field's widget contains multiple
791
inputs that should be semantically grouped in a ``<fieldset>`` with a
792
``<legend>`` to improve accessibility. An example use in a template:
0 commit comments