8000 [Form] Fix Bootstrap 5 section indentation · githubfromgui/symfony-docs@b41941d · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b41941d

Browse files
author
Romain Monteil
committed
[Form] Fix Bootstrap 5 section indentation
1 parent a23b42b commit b41941d

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)
0