sonata-project/SonataDoctrineORMAdminBundle — Issue #23: show_orm_*.html.twig Missing ?
Author: sushicodeur
Created: 2011-12-09 10:59:21+00:00
State: open

Hello,

I'm trying to display in a show view a field that is a reference to another entity. In the view, the line is not present.

I've looked a little further and it looks like the show templates are not present, for example, here, the builder sets the template "SonataDoctrineORMAdminBundle:CRUD:show_orm_many_to_one.html.twig", but there is no such file :
https://github.com/sonata-project/SonataDoctrineORMAdminBundle/blob/master/Builder/ShowBuilder.php#L129

Is it still to be done or I'm I doing something wrong ?

If it has to be done, could you give me some guideline on what is to do, I tried to add the show_orm_many_to_one.html.twig in ~/Resources/views/CRUD but with no success.

thanks.