I am trying to override SymfonyGeneratorBundle templates by creating
\\app\\Resources\\SensioGeneratorBundle\\skeleton\\crud\\views\\index.html.twig
To override the edit template, for example, in 2.3+ version, copy the file:
vendor/sensio/generator-bundle/Sensio/Bundle/GeneratorBundle/Resources/skeleton/crud/views/edit.html.twig.twig
for the directory:
app/Resources/SensioGeneratorBundle/skeleton/crud/views/edit.html.twig.twig
Now, just generate crud with the default command and it will use the new template.