Skip to content

Commit e3f9788

Browse files
authored
Update index.rst
1 parent 9e15613 commit e3f9788

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Turbo/doc/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,9 @@ created, modified or deleted:
838838
{% endblock %}
839839

840840
By convention, Symfony UX Turbo will look for a template named
841-
``templates/broadcast/{ClassName}.stream.html.twig``. This template can contain 3 blocks: ``create`` block for entity creation. ``update`` block for entity update. ``remove`` block for entity deletion.
841+
``templates/broadcast/{ClassName}.stream.html.twig``. This template
842+
**must** contain at least 3 blocks: ``create``, ``update`` and
843+
``remove`` (they can be empty, but they must exist).
842844

843845

844846
Every time an entity marked with the ``Broadcast`` attribute changes,

0 commit comments

Comments
 (0)