{#

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 '@SonataAdmin/CRUD/base_show_field.html.twig' %}

{# 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 %}
