Skip to content

Commit 7820ef8

Browse files
committed
minor #17239 [Form] Fix Bootstrap 5 section indentation (ker0x)
This PR was merged into the 5.4 branch. Discussion ---------- [Form] Fix Bootstrap 5 section indentation Commits ------- b41941d [Form] Fix Bootstrap 5 section indentation
2 parents a23b42b + b41941d commit 7820ef8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

form/bootstrap5.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ For a checkbox/radio field, calling ``form_label()`` doesn't render anything.
101101
Due to Bootstrap internals, the label is already rendered by ``form_widget()``.
102102

103103
Inline Checkboxes and Radios
104-
----------------------------
104+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105105

106106
If you want to render your checkbox or radio fields `inline`_, you can add
107107
the ``checkbox-inline`` or ``radio-inline`` class (depending on your Symfony
@@ -138,7 +138,7 @@ Form type or ``ChoiceType`` configuration) to the label class.
138138
}) }}
139139
140140
Switches
141-
________
141+
~~~~~~~~
142142

143143
Bootstrap 5 allows to render checkboxes as `switches`_. You can enable this
144144
feature on your Symfony Form ``CheckboxType`` by adding the ``checkbox-switch``
@@ -178,7 +178,7 @@ class to the label:
178178
Switches only work with **checkbox**.
179179

180180
Input group
181-
___________
181+
-----------
182182

183183
To create `input group`_ in your Symfony Form, simply add the ``input-group``
184184
class to the ``row_attr`` option.

0 commit comments

Comments
 (0)