File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ you'll get the error messages displayed *twice*.
92
92
93
93
Since form errors are rendered *inside * the ``<label> ``, you cannot use CSS
94
94
``: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.
97
97
98
98
Checkboxes and Radios
99
99
---------------------
Original file line number Diff line number Diff line change @@ -179,6 +179,8 @@ of the form type tree (i.e. it cannot be used as a form type on its own).
179
179
180
180
.. include :: /reference/forms/types/options/label.rst.inc
181
181
182
+ .. _reference-form-option-label-html :
183
+
182
184
.. include :: /reference/forms/types/options/label_html.rst.inc
183
185
184
186
.. include :: /reference/forms/types/options/row_attr.rst.inc
You can’t perform that action at this time.
0 commit comments