Skip to content

Instantly share code, notes, and snippets.

@smilesrg
Created January 27, 2014 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smilesrg/8647793 to your computer and use it in GitHub Desktop.
Save smilesrg/8647793 to your computer and use it in GitHub Desktop.
{#
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 'SonataAdminBundle:CRUD:base_show_field.html.twig' %}
{% block field %}
{% for key, val in value %}
{% if field_description.options.safe %}
[{{ key }} => {{ val|raw }}]
{% else %}
[{{ key }} => {{ val }}]
{% endif %}
{% endfor %}
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment