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*.
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
9898Checkboxes and Radios
9999---------------------
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).
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
You can’t perform that action at this time.
0 commit comments