symfony - How owerride 'show' template in new version sonata admin -
how can override 'show' template in new version? before extend in template base template:
{% extends 'sonataadminbundle:crud:base_show.html.twig' %}
and override
{% block show_field %} content {% endblock %}.
but not work. template me need extend now?
ps want override template 1 entity so, global override not me
try if base_show_macro template looking for:
vendor/sonata-project/admin-bundle/resources/views/crud/base_show_macro.html.twig
or in twig:
{% extends 'sonataadminbundle:crud:base_show_macro.html.twig' %}
Comments
Post a Comment