sensio/SensioGeneratorBundle — Issue #79: Make CRUD templates to extend base CRUD templates
Author: Dentxinho
Created: 2011-11-25 14:32:45+00:00
State: open

Looking at the views generated by CRUD generator, you'll see that they are the same (obviously), only changing the entity-related fields, etc.
Why not to generate base CRUD templates, inside the bundle (`MyBundle::edit.html.twig`, `MyBundle::show.html.twig`, etc) and generate the Controller-related views extendind them and implementing their particular stuff?