Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitdb48bf7

Browse files
committed
feature#5702 Added a reference to the Foundation form theme (totophe)
This PR was squashed before being merged into the 2.8 branch (closes#5702).Discussion----------Added a reference to the Foundation form theme| Q | A ||---|---|| Doc fix? | no || New docs? | yes || Applies to | N/A |See pull request:symfony/symfony#12587Commits-------23c7798 Added a reference to the Foundation form theme
2 parents4d63c3a +23c7798 commitdb48bf7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎cookbook/form/form_customization.rst

Lines changed: 5 additions & 0 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp