Skip to content

Commit 04a0a20

Browse files
committed
feature #13164 [Form] Mentioned the form theme for Foundation 6 (javiereguiluz)
This PR was squashed before being merged into the master branch. Discussion ---------- [Form] Mentioned the form theme for Foundation 6 Fixes #12914 Fixes #13161 Commits ------- 261d67a [Form] Mentioned the form theme for Foundation 6
2 parents 4ca5309 + 261d67a commit 04a0a20

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

form/form_themes.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ in a single Twig template and they are enabled in the
3535
``bootstrap_3_horizontal_layout.html.twig`` but updated for Bootstrap 4 styles.
3636
* `foundation_5_layout.html.twig`_, wraps each form field inside a ``<div>``
3737
element with the appropriate CSS classes to apply the default styles of the
38-
`Foundation CSS framework`_.
38+
version 5 of `Foundation CSS framework`_.
39+
* `foundation_6_layout.html.twig`_, wraps each form field inside a ``<div>``
40+
element with the appropriate CSS classes to apply the default styles of the
41+
version 6 of `Foundation CSS framework`_.
42+
43+
.. versionadded:: 5.1
44+
45+
The ``foundation_6_layout.html.twig`` theme was introduced in Symfony 5.1.
3946

4047
.. tip::
4148

@@ -599,6 +606,7 @@ is a collection of fields (e.g. a whole form), and not just an individual field:
599606
.. _`Bootstrap 3 CSS framework`: https://getbootstrap.com/docs/3.3/
600607
.. _`Bootstrap 4 CSS framework`: https://getbootstrap.com/docs/4.1/
601608
.. _`foundation_5_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_5_layout.html.twig
609+
.. _`foundation_6_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_6_layout.html.twig
602610
.. _`Foundation CSS framework`: http://foundation.zurb.com/
603611
.. _`Twig "use" tag`: https://twig.symfony.com/doc/2.x/tags/use.html
604612
.. _`Twig parent() function`: https://twig.symfony.com/doc/2.x/functions/parent.html

0 commit comments

Comments
 (0)