diff --git a/src/StimulusBundle/doc/index.rst b/src/StimulusBundle/doc/index.rst index 88ede629614..39e3aa484bb 100644 --- a/src/StimulusBundle/doc/index.rst +++ b/src/StimulusBundle/doc/index.rst @@ -174,15 +174,15 @@ For example: .. code-block:: html+twig -
+
Hello
Hello
@@ -191,22 +191,22 @@ If you want to set CSS classes: .. code-block:: html+twig -
+
Hello
Hello
-
+
Hello
@@ -214,8 +214,8 @@ And with outlets: .. code-block:: html+twig -
Hello @@ -223,17 +223,17 @@ And with outlets:
Hello
-
+
Hello
@@ -246,12 +246,12 @@ there's also a ``stimulus_controller`` filter: .. code-block:: html+twig -
+
Hello
-
+
Hello
@@ -259,7 +259,7 @@ You can also retrieve the generated attributes as an array, which can be helpful .. code-block:: twig - {{ form_start(form, { attr: stimulus_controller('chart', { 'name': 'Likes' }).toArray() }) }} + {{ form_start(form, { attr: stimulus_controller('hello', { 'name': 'World' }).toArray() }) }} stimulus_action ~~~~~~~~~~~~~~~