{% block create %}
    <turbo-stream action="prepend" target="volume-{{ entity.volume }}">
        <template>
            {% include 'manga/_chapter_row.html.twig' with { chapter: entity, manga: entity.manga } %}
        </template>
    </turbo-stream>
{% endblock %}

{% block update %}
    <turbo-stream action="remove" target="activity-{{ entity.id }}"></turbo-stream>

    <turbo-stream action="replace" target="chapter-{{ entity.id }}">
        <template>
            {% include 'manga/_chapter_row.html.twig' with { chapter: entity, manga: entity.manga } %}
        </template>
    </turbo-stream>

{% endblock %}

{% block remove %}
{% endblock %}
