Skip to content

Commit ff8a81e

Browse files
committed
Minor improvement
1 parent d4f353e commit ff8a81e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

form/bootstrap4.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ you'll get the error messages displayed *twice*.
9292

9393
Since form errors are rendered *inside* the ``<label>``, you cannot use CSS
9494
``:after`` to append an asterisk to the label, because it would be displayed
95-
after the error message. Use the :ref:`label <reference-form-option-label-html>`
96-
option instead.
95+
after the error message. Use the :ref:`label <reference-form-option-label>`
96+
or :ref:`label_html <reference-form-option-label-html>` options instead.
9797

9898
Checkboxes and Radios
9999
---------------------

reference/forms/types/form.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ of the form type tree (i.e. it cannot be used as a form type on its own).
179179

180180
.. include:: /reference/forms/types/options/label.rst.inc
181181

182+
.. _reference-form-option-label-html:
183+
182184
.. include:: /reference/forms/types/options/label_html.rst.inc
183185

184186
.. include:: /reference/forms/types/options/row_attr.rst.inc

0 commit comments

Comments
 (0)