Skip to content

Commit 2a53133

Browse files
committed
Use sidebar; improve text
1 parent 07ea351 commit 2a53133

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/form/form_customization.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -896,10 +896,10 @@ original template:
896896

897897
See :ref:`cookbook-form-theming-methods` for how to apply this customization.
898898

899-
.. tip::
899+
.. sidebar:: Using CSS only
900900

901-
Labels of required fields are rendered with a CSS class called ``required``
902-
by default. You can use it to add an Asterisk using CSS only:
901+
By default, ``label`` tags of required fields are rendered with a
902+
``required`` CSS class. Thus, you can also add an Asterisk using CSS only:
903903

904904
.. code-block:: css
905905

0 commit comments

Comments
 (0)