@@ -316,16 +316,16 @@ suitable for being rendered in an HTML form.
316316
317317As short as this rendering is, it's not very flexible. Usually, you'll need more
318318control about how the entire form or some of its fields look. For example, thanks
319- to the :doc: `Bootstrap 4 integration with Symfony forms </form/bootstrap4 >` you
320- can set this option to generate forms compatible with the Bootstrap 4 CSS framework:
319+ to the :doc: `Bootstrap 5 integration with Symfony forms </form/bootstrap5 >` you
320+ can set this option to generate forms compatible with the Bootstrap 5 CSS framework:
321321
322322.. configuration-block ::
323323
324324 .. code-block :: yaml
325325
326326 # config/packages/twig.yaml
327327 twig :
328- form_themes : ['bootstrap_4_layout .html.twig']
328+ form_themes : ['bootstrap_5_layout .html.twig']
329329
330330 .. code-block :: xml
331331
@@ -340,7 +340,7 @@ can set this option to generate forms compatible with the Bootstrap 4 CSS framew
340340 https://symfony.com/schema/dic/twig/twig-1.0.xsd" >
341341
342342 <twig : config >
343- <twig : form-theme >bootstrap_4_layout .html.twig</twig : form-theme >
343+ <twig : form-theme >bootstrap_5_layout .html.twig</twig : form-theme >
344344 <!-- ... -->
345345 </twig : config >
346346 </container >
@@ -351,13 +351,13 @@ can set this option to generate forms compatible with the Bootstrap 4 CSS framew
351351 use Symfony\Config\TwigConfig;
352352
353353 return static function (TwigConfig $twig) {
354- $twig->formThemes(['bootstrap_4_layout .html.twig']);
354+ $twig->formThemes(['bootstrap_5_layout .html.twig']);
355355
356356 // ...
357357 };
358358
359359 The :ref: `built-in Symfony form themes <symfony-builtin-forms >` include
360- Bootstrap 3 and 4 as well as Foundation 5 and 6. You can also
360+ Bootstrap 3, 4 and 5, Foundation 5 and 6, as well as Tailwind 2 . You can also
361361:ref: `create your own Symfony form theme <create-your-own-form-theme >`.
362362
363363In addition to form themes, Symfony allows you to
0 commit comments