Skip to content

Commit 8e277ab

Browse files
committed
fixing rst
1 parent cef8242 commit 8e277ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,10 +1377,9 @@ If validation fails, you'll want the live component to render with the form
13771377
errors instead of creating a fresh form. To do that, pass the ``form`` variable
13781378
into the component:
13791379

1380-
.. code-block:: html+twig
1380+
.. code-block:: twig
13811381
13821382
{# templates/post/edit.html.twig #}
1383-
13841383
{{ component('PostForm', {
13851384
initialFormData: post,
13861385
form: form

0 commit comments

Comments
 (0)