File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
src/Resources/skeleton/doctrine Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
{# Learn how to use Turbo Streams: https://github.com/symfony/ux-turbo#broadcast-doctrine-entities-update #}
2
2
{% block create %}
3
- <turbo-stream action="append" target="<?= $ class_name_plural ?> ">
4
- <template>
5
- <div id="{{ '<?= $ class_name ?> _' ~ id }}">
6
- #{{ id }} created
7
- </div>
8
- </template>
9
- </turbo-stream>
3
+ <turbo-stream action="append" target="<?= $ class_name_plural ?> ">
4
+ <template>
5
+ <div id="{{ '<?= $ class_name ?> _' ~ id }}">
6
+ #{{ id }} created
7
+ </div>
8
+ </template>
9
+ </turbo-stream>
10
10
{% endblock %}
11
11
12
12
{% block update %}
13
- <turbo-stream action="update" target="<?= $ class_name ?> _{{ id }}">
14
- <template>
15
- #{{ id }} updated
16
- </template>
17
- </turbo-stream>
13
+ <turbo-stream action="update" target="<?= $ class_name ?> _{{ id }}">
14
+ <template>
15
+ #{{ id }} updated
16
+ </template>
17
+ </turbo-stream>
18
18
{% endblock %}
19
19
20
20
{% block remove %}
21
- <turbo-stream action="remove" target="<?= $ class_name ?> _{{ id }}"></turbo-stream>
21
+ <turbo-stream action="remove" target="<?= $ class_name ?> _{{ id }}"></turbo-stream>
22
22
{% endblock %}
You can’t perform that action at this time.
0 commit comments