Skip to content

Commit 0b3e62c

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: fix a small grammar issue Upgrade Bootstrap 4 theme references to Bootstrap 5 theme
2 parents 917a47e + fdd1210 commit 0b3e62c

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

contributing/code/core_team.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Symfony contributions:
109109
Core Membership Application
110110
~~~~~~~~~~~~~~~~~~~~~~~~~~~
111111

112-
About once a year, the core team discuss the opportunity to invite new members.
112+
About once a year, the core team discusses the opportunity to invite new members.
113113

114114
Core Membership Revocation
115115
~~~~~~~~~~~~~~~~~~~~~~~~~~

form/form_customization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Renders any errors for the given field.
258258
259259
.. caution::
260260

261-
In the :ref:`error messages of Bootstrap 4 Form Theme <reference-forms-bootstrap4-error-messages>`,
261+
In the :ref:`error messages of Bootstrap 5 Form Theme <reference-forms-bootstrap5-error-messages>`,
262262
``form_errors()`` is already included in ``form_label()``.
263263

264264
.. _reference-forms-twig-widget:

form/form_themes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ want to use another theme for all the forms of your app, configure it in the
6868
6969
# config/packages/twig.yaml
7070
twig:
71-
form_themes: ['bootstrap_4_horizontal_layout.html.twig']
71+
form_themes: ['bootstrap_5_horizontal_layout.html.twig']
7272
# ...
7373
7474
.. code-block:: xml
@@ -83,7 +83,7 @@ want to use another theme for all the forms of your app, configure it in the
8383
http://symfony.com/schema/dic/twig https://symfony.com/schema/dic/twig/twig-1.0.xsd">
8484
8585
<twig:config>
86-
<twig:form-theme>bootstrap_4_horizontal_layout.html.twig</twig:form-theme>
86+
<twig:form-theme>bootstrap_5_horizontal_layout.html.twig</twig:form-theme>
8787
<!-- ... -->
8888
</twig:config>
8989
</container>
@@ -95,7 +95,7 @@ want to use another theme for all the forms of your app, configure it in the
9595
9696
return static function (TwigConfig $twig) {
9797
$twig->formThemes([
98-
'bootstrap_4_horizontal_layout.html.twig',
98+
'bootstrap_5_horizontal_layout.html.twig',
9999
]);
100100
101101
// ...

forms.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,16 +316,16 @@ suitable for being rendered in an HTML form.
316316

317317
As short as this rendering is, it's not very flexible. Usually, you'll need more
318318
control about how the entire form or some of its fields look. For example, thanks
319-
to the :doc:`Bootstrap 4 integration with Symfony forms </form/bootstrap4>` you
320-
can set this option to generate forms compatible with the Bootstrap 4 CSS framework:
319+
to the :doc:`Bootstrap 5 integration with Symfony forms </form/bootstrap5>` you
320+
can set this option to generate forms compatible with the Bootstrap 5 CSS framework:
321321

322322
.. configuration-block::
323323

324324
.. code-block:: yaml
325325
326326
# config/packages/twig.yaml
327327
twig:
328-
form_themes: ['bootstrap_4_layout.html.twig']
328+
form_themes: ['bootstrap_5_layout.html.twig']
329329
330330
.. code-block:: xml
331331
@@ -340,7 +340,7 @@ can set this option to generate forms compatible with the Bootstrap 4 CSS framew
340340
https://symfony.com/schema/dic/twig/twig-1.0.xsd">
341341
342342
<twig:config>
343-
<twig:form-theme>bootstrap_4_layout.html.twig</twig:form-theme>
343+
<twig:form-theme>bootstrap_5_layout.html.twig</twig:form-theme>
344344
<!-- ... -->
345345
</twig:config>
346346
</container>
@@ -351,13 +351,13 @@ can set this option to generate forms compatible with the Bootstrap 4 CSS framew
351351
use Symfony\Config\TwigConfig;
352352
353353
return static function (TwigConfig $twig) {
354-
$twig->formThemes(['bootstrap_4_layout.html.twig']);
354+
$twig->formThemes(['bootstrap_5_layout.html.twig']);
355355
356356
// ...
357357
};
358358
359359
The :ref:`built-in Symfony form themes <symfony-builtin-forms>` include
360-
Bootstrap 3 and 4 as well as Foundation 5 and 6. You can also
360+
Bootstrap 3, 4 and 5, Foundation 5 and 6, as well as Tailwind 2. You can also
361361
:ref:`create your own Symfony form theme <create-your-own-form-theme>`.
362362

363363
In addition to form themes, Symfony allows you to

reference/configuration/twig.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ all the forms of the application:
182182
183183
# config/packages/twig.yaml
184184
twig:
185-
form_themes: ['bootstrap_4_layout.html.twig', 'form/my_theme.html.twig']
185+
form_themes: ['bootstrap_5_layout.html.twig', 'form/my_theme.html.twig']
186186
# ...
187187
188188
.. code-block:: xml
@@ -197,7 +197,7 @@ all the forms of the application:
197197
http://symfony.com/schema/dic/twig https://symfony.com/schema/dic/twig/twig-1.0.xsd">
198198
199199
<twig:config>
200-
<twig:form-theme>bootstrap_4_layout.html.twig</twig:form-theme>
200+
<twig:form-theme>bootstrap_5_layout.html.twig</twig:form-theme>
201201
<twig:form-theme>form/my_theme.html.twig</twig:form-theme>
202202
<!-- ... -->
203203
</twig:config>
@@ -210,7 +210,7 @@ all the forms of the application:
210210
211211
return static function (TwigConfig $twig) {
212212
$twig->formThemes([
213-
'bootstrap_4_layout.html.twig',
213+
'bootstrap_5_layout.html.twig',
214214
'form/my_theme.html.twig',
215215
]);
216216

0 commit comments

Comments
 (0)