Skip to content

Commit a156b3c

Browse files
Merge pull request #22 from cleverage/hotfix/21
#21 Fix report.html.twig templating.
2 parents ffa44a3 + 6caf164 commit a156b3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/admin/field/report.html.twig

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #}
33
{# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #}
44
<ul>
5-
{{ field.value }}
5+
{% for key, item in field.value %}
6+
<li class="list-group-item"><span class="badge badge-{{ log_css_class(key) }}">{{ key }}</span> : {{ item }}</li>
7+
{% endfor %}
68
</ul>

0 commit comments

Comments
 (0)