base_show_compare.html.twig 558 B

1234567891011121314151617181920
  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 'SonataAdminBundle:CRUD:base_show.html.twig' %}
  8. {% block show_field %}
  9. <tr class="sonata-ba-view-container history-audit-compare">
  10. {% if elements[field_name] is defined %}
  11. {{ elements[field_name]|render_view_element_compare(object, object_compare) }}
  12. {% endif %}
  13. </tr>
  14. {% endblock %}