vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/list_trans.html.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of the Sonata package.
  3. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  4. For the full copyright and license information, please view the LICENSE
  5. file that was distributed with this source code.
  6. #}
  7. {% extends get_admin_template('base_list_field', admin.code) %}
  8. {# NEXT_MAJOR: Remove the fallback on catalogue #}
  9. {% block field %}
  10.     {%- include '@SonataAdmin/CRUD/display_trans.html.twig' with {
  11.         value: value,
  12.         value_format: field_description.option('format'),
  13.         translation_domain: field_description.option('value_translation_domain', field_description.option('catalogue', admin.translationDomain)),
  14.         safe: field_description.option('safe'),
  15.     } only -%}
  16. {% endblock %}