{#

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_choice.html.twig' with {
        value: value,
        choices: field_description.option('choices'),
        multiple: field_description.option('multiple'),
        delimiter: field_description.option('delimiter'),
        translation_domain: field_description.option('choice_translation_domain', field_description.option('catalogue')),
        safe: field_description.option('safe'),
    } only -%}
{% endblock %}
