{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #} {# this template renders the opening HTML tags of a fieldset on the 'detail' page; the closing tags are rendered by 'crud/detail/fieldset_close' #} {% set has_help = field.help is ea_is_not_empty %} {% set has_label = field.label is ea_is_not_empty %} {% set fieldset_has_header = has_label or field.getCustomOption('icon') or has_help %} {% set is_collapsible_option_name = constant('EasyCorp\\Bundle\\EasyAdminBundle\\Field\\FormField::OPTION_COLLAPSIBLE') %} {% set is_collapsed_option_name = constant('EasyCorp\\Bundle\\EasyAdminBundle\\Field\\FormField::OPTION_COLLAPSED') %} {% set is_collapsible = field.getCustomOption(is_collapsible_option_name) %} {% set is_collapsed = field.getCustomOption(is_collapsed_option_name) %}