From e495337e8dbbd1232b9a72ba3b86de14e607324c Mon Sep 17 00:00:00 2001 From: WouterJ Date: Sun, 28 Jun 2015 16:23:27 +0200 Subject: [PATCH] Rewrite note a bit --- cookbook/form/form_customization.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cookbook/form/form_customization.rst b/cookbook/form/form_customization.rst index 87aa62da84a..1d4c2a67b07 100644 --- a/cookbook/form/form_customization.rst +++ b/cookbook/form/form_customization.rst @@ -116,10 +116,9 @@ fragment needed to render every part of a form: .. caution:: - If you use the Bootstrap form theme and want to render the parts of - a checkbox field individually, do not use the Twig function {{ form_label() }}. - Otherwise, it will render nothing. - + 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()``. In the next section you will learn how to customize a theme by overriding some or all of its fragments.