Skip to content

Commit 8adf5de

Browse files
committed
minor #13498 Adding bulma theme (eerison)
This PR was submitted for the 5.0 branch but it was merged into the master branch instead (closes #13498). Discussion ---------- Adding bulma theme TwigBridge - Adding Bulma theme Pull request: symfony/symfony#36351 Issue: symfony/symfony#36248 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 175b708 Adding bulma theme
2 parents 1e3df40 + 175b708 commit 8adf5de

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

form/form_themes.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@ in a single Twig template and they are enabled in the
3939
* `foundation_6_layout.html.twig`_, wraps each form field inside a ``<div>``
4040
element with the appropriate CSS classes to apply the default styles of the
4141
version 6 of `Foundation CSS framework`_.
42+
* `bulma_0_layout.html.twig`_, wraps each form field inside a ``<div>``
43+
element with the appropriate CSS classes to apply the styles used by the
44+
`Bulma CSS framework`_.
4245

4346
.. versionadded:: 5.1
4447

45-
The ``foundation_6_layout.html.twig`` theme was introduced in Symfony 5.1.
48+
The ``foundation_6_layout.html.twig`` and ``bulma_0_layout.html.twig``
49+
themes were introduced in Symfony 5.1.
4650

4751
.. tip::
4852

@@ -633,6 +637,8 @@ is a collection of fields (e.g. a whole form), and not just an individual field:
633637
.. _`Bootstrap 4 CSS framework`: https://getbootstrap.com/docs/4.4/
634638
.. _`foundation_5_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_5_layout.html.twig
635639
.. _`foundation_6_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_6_layout.html.twig
640+
.. _`bulma_0_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bulma_0_layout.html.twig
636641
.. _`Foundation CSS framework`: https://get.foundation/
637642
.. _`Twig "use" tag`: https://twig.symfony.com/doc/2.x/tags/use.html
638643
.. _`Twig parent() function`: https://twig.symfony.com/doc/2.x/functions/parent.html
644+
.. _`Bulma CSS framework`: https://bulma.io

0 commit comments

Comments
 (0)