Skip to content

Commit ad6fd11

Browse files
authored
Allow customize entity row attributes on index page
1 parent 8dca478 commit ad6fd11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/crud/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
{% block table_body %}
140140
{% for entity in entities %}
141141
{% if entity.isAccessible %}
142-
<tr data-id="{{ entity.primaryKeyValueAsString }}">
142+
<tr data-id="{{ entity.primaryKeyValueAsString }}" {% block entity_row_attributes %}{% endblock %}>
143143
{% if has_batch_actions %}
144144
<td class="batch-actions-selector">
145145
<div class="form-check">

0 commit comments

Comments
 (0)