diff --git a/cookbook/form/create_custom_field_type.rst b/cookbook/form/create_custom_field_type.rst index 91dfe580c5e..78017b263cd 100644 --- a/cookbook/form/create_custom_field_type.rst +++ b/cookbook/form/create_custom_field_type.rst @@ -167,13 +167,13 @@ link for details), create a ``gender_widget`` block to handle this: # app/config/config.yml twig: form_themes: - - 'AppBundle:Form:fields.html.twig' + - ':form/fields.html.twig' .. code-block:: xml - AppBundle:Form:fields.html.twig + :form/fields.html.twig .. code-block:: php @@ -181,7 +181,7 @@ link for details), create a ``gender_widget`` block to handle this: // app/config/config.php $container->loadFromExtension('twig', array( 'form_themes' => array( - 'AppBundle:Form:fields.html.twig', + ':form/fields.html.twig', ), )); @@ -196,7 +196,7 @@ link for details), create a ``gender_widget`` block to handle this: templating: form: resources: - - 'AppBundle:Form' + - ':form:fields.html.twig' .. code-block:: xml @@ -211,7 +211,7 @@ link for details), create a ``gender_widget`` block to handle this: - AppBundle:Form + :form:fields.html.twig @@ -224,7 +224,7 @@ link for details), create a ``gender_widget`` block to handle this: 'templating' => array( 'form' => array( 'resources' => array( - 'AppBundle:Form', + ':form:fields.html.twig', ), ), ),