You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Turbo/doc/index.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -838,7 +838,9 @@ created, modified or deleted:
838
838
{% endblock %}
839
839
840
840
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).
842
844
843
845
844
846
Every time an entity marked with the ``Broadcast`` attribute changes,
0 commit comments