Skip to content

Commit

Permalink
[5.0.x] Fixed incorrect blockquotes in docs/topics/forms/index.txt.
Browse files Browse the repository at this point in the history
Backport of bcad5ad from main
  • Loading branch information
minusf authored and nessita committed Apr 23, 2024
1 parent ea81c9d commit 8468ea2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/topics/forms/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -781,12 +781,10 @@ Useful attributes on ``{{ field }}`` include:
<label for="id_email">Email address:</label>

``{{ field.legend_tag }}``

Similar to ``field.label_tag`` but uses a ``<legend>`` tag in place of
``<label>``, for widgets with multiple inputs wrapped in a ``<fieldset>``.

``{{ field.use_fieldset }}``

This attribute is ``True`` if the form field's widget contains multiple
inputs that should be semantically grouped in a ``<fieldset>`` with a
``<legend>`` to improve accessibility. An example use in a template:
Expand Down

0 comments on commit 8468ea2

Please sign in to comment.