{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #} {# @var action \EasyCorp\Bundle\EasyAdminBundle\Dto\ActionDto #} {# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #} {% if 'a' == action.htmlElement %} {%- if action.icon %} {% endif -%} {%- if action.label is not empty -%}{{ action.label }}{%- endif -%} {% elseif 'button' == action.htmlElement %} {% endif %}