{# @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 %} {% for _locale in app_locales %} {%- if action.icon %} {% endif -%} {%- if action.label is not empty -%}{{ action.label }} {{ _locale }}{%- endif -%} {% endfor %} {% elseif 'button' == action.htmlElement %} {% endif %}