symfony/symfony-docs — Issue #1070: Filename location wrong in Form custom fields documentation
Author: mmucklo
Created: 2012-02-10 00:30:10+00:00
State: open

http://symfony.com/doc/current/cookbook/form/create_custom_field_type.html

The docs say that this is the right filename for the twig file:

{# src/Acme/DemoBundle/Resources/Form/fields.html.twig #}

But that actually gives an error. I think it's this instead (as it seems to work):

{# src/Acme/DemoBundle/Resources/views/Form/fields.html.twig #}