diff --git a/form/form_themes.rst b/form/form_themes.rst index 0d726ac3008..eec35960acd 100644 --- a/form/form_themes.rst +++ b/form/form_themes.rst @@ -39,10 +39,14 @@ in a single Twig template and they are enabled in the * `foundation_6_layout.html.twig`_, wraps each form field inside a ``
`` element with the appropriate CSS classes to apply the default styles of the version 6 of `Foundation CSS framework`_. +* `bulma_0_layout.html.twig`_, wraps each form field inside a ``
`` + element with the appropriate CSS classes to apply the styles used by the + `Bulma CSS framework`_. .. versionadded:: 5.1 - The ``foundation_6_layout.html.twig`` theme was introduced in Symfony 5.1. + The ``foundation_6_layout.html.twig`` and ``bulma_0_layout.html.twig`` + themes were introduced in Symfony 5.1. .. tip:: @@ -633,6 +637,8 @@ is a collection of fields (e.g. a whole form), and not just an individual field: .. _`Bootstrap 4 CSS framework`: https://getbootstrap.com/docs/4.4/ .. _`foundation_5_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_5_layout.html.twig .. _`foundation_6_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_6_layout.html.twig +.. _`bulma_0_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bulma_0_layout.html.twig .. _`Foundation CSS framework`: https://get.foundation/ .. _`Twig "use" tag`: https://twig.symfony.com/doc/2.x/tags/use.html .. _`Twig parent() function`: https://twig.symfony.com/doc/2.x/functions/parent.html +.. _`Bulma CSS framework`: https://bulma.io