@@ -320,16 +320,16 @@ suitable for being rendered in an HTML form.
320320
321321As short as this rendering is, it's not very flexible. Usually, you'll need more
322322control about how the entire form or some of its fields look. For example, thanks
323- to the :doc: `Bootstrap 4 integration with Symfony forms </form/bootstrap4 >` you
324- can set this option to generate forms compatible with the Bootstrap 4 CSS framework:
323+ to the :doc: `Bootstrap 5 integration with Symfony forms </form/bootstrap5 >` you
324+ can set this option to generate forms compatible with the Bootstrap 5 CSS framework:
325325
326326.. configuration-block ::
327327
328328 .. code-block :: yaml
329329
330330 # config/packages/twig.yaml
331331 twig :
332- form_themes : ['bootstrap_4_layout .html.twig']
332+ form_themes : ['bootstrap_5_layout .html.twig']
333333
334334 .. code-block :: xml
335335
@@ -344,7 +344,7 @@ can set this option to generate forms compatible with the Bootstrap 4 CSS framew
344344 https://symfony.com/schema/dic/twig/twig-1.0.xsd" >
345345
346346 <twig : config >
347- <twig : form-theme >bootstrap_4_layout .html.twig</twig : form-theme >
347+ <twig : form-theme >bootstrap_5_layout .html.twig</twig : form-theme >
348348 <!-- ... -->
349349 </twig : config >
350350 </container >
@@ -355,13 +355,13 @@ can set this option to generate forms compatible with the Bootstrap 4 CSS framew
355355 use Symfony\Config\TwigConfig;
356356
357357 return static function (TwigConfig $twig) {
358- $twig->formThemes(['bootstrap_4_layout .html.twig']);
358+ $twig->formThemes(['bootstrap_5_layout .html.twig']);
359359
360360 // ...
361361 };
362362
363363 The :ref: `built-in Symfony form themes <symfony-builtin-forms >` include
364- Bootstrap 3 and 4 as well as Foundation 5 and 6. You can also
364+ Bootstrap 3, 4 and 5, Foundation 5 and 6, as well as Tailwind 2 . You can also
365365:ref: `create your own Symfony form theme <create-your-own-form-theme >`.
366366
367367In addition to form themes, Symfony allows you to
0 commit comments