Skip to content

Commit 23c7798

Browse files
Jean-Christophe Cuvelierxabbuh
Jean-Christophe Cuvelier
authored andcommitted
Added a reference to the Foundation form theme
1 parent de141d5 commit 23c7798

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbook/form/form_customization.rst

+5
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ fragment needed to render every part of a form:
113113
* `bootstrap_3_horizontal_layout.html.twig`_, it's similar to the previous theme,
114114
but the CSS classes applied are the ones used to display the forms horizontally
115115
(i.e. the label and the widget in the same row).
116+
* `foundation_5_layout.html.twig`_, wraps each form field inside a ``<div>`` element
117+
with the appropriate CSS classes to apply the default `Foundation CSS framework`_
118+
styles.
116119

117120
.. caution::
118121

@@ -1087,3 +1090,5 @@ more details about this concept in Twig, see :ref:`twig-reference-form-variables
10871090
.. _`bootstrap_3_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig
10881091
.. _`bootstrap_3_horizontal_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_horizontal_layout.html.twig
10891092
.. _`Bootstrap 3 CSS framework`: http://getbootstrap.com/
1093+
.. _`foundation_5_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_5_layout.html.twig
1094+
.. _`Foundation CSS framework`: http://foundation.zurb.com/

0 commit comments

Comments
 (0)