{#

This file is part of the Sonata package.

(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends get_admin_template('base_list_field', admin.code) %}

{# NEXT_MAJOR: Remove the fallback on catalogue #}
{% block field %}
    {%- include '@SonataAdmin/CRUD/display_trans.html.twig' with {
        value: value,
        value_format: field_description.option('format'),
        translation_domain: field_description.option('value_translation_domain', field_description.option('catalogue', admin.translationDomain)),
        safe: field_description.option('safe'),
    } only -%}
{% endblock %}
