mirror of https://github.com/django/django.git
Fixed incorrect blockquotes in docs/topics/forms/index.txt.
This commit is contained in:
parent
36b7024b7f
commit
bcad5ad92b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue