Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 261d67a

Browse filesBrowse files
javiereguiluzOskarStark
authored andcommitted
[Form] Mentioned the form theme for Foundation 6
1 parent ba1d41e commit 261d67a
Copy full SHA for 261d67a

File tree

1 file changed

+9
-1
lines changed
Filter options

1 file changed

+9
-1
lines changed

‎form/form_themes.rst

Copy file name to clipboardExpand all lines: form/form_themes.rst
+9-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.