{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% macro render_array(value, options = []) %} {% set options = { 'inline': false, 'key_translation_domain': false, 'value_translation_domain': false, 'display': 'both' }|merge(options) %} {%- apply spaceless -%} {%- from _self import render_array -%} {%- if not options.inline -%} {%- else -%} ] {%- endif -%} {%- endapply -%} {% endmacro %}