Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32b1060 commit e495337Copy full SHA for e495337
cookbook/form/form_customization.rst
@@ -116,10 +116,9 @@ fragment needed to render every part of a form:
116
117
.. caution::
118
119
- If you use the Bootstrap form theme and want to render the parts of
120
- a checkbox field individually, do not use the Twig function {{ form_label() }}.
121
- Otherwise, it will render nothing.
122
-
+ When you use the Bootstrap form themes and render the fields manually,
+ calling ``form_label()`` for a checkbox/radio field doesn't show anything.
+ Due to Bootstrap internals, the label is already shown by ``form_widget()``.
123
124
In the next section you will learn how to customize a theme by overriding
125
some or all of its fragments.
0 commit comments