From 1913051a2b753441bb77b3b6f6dd9d64649b7795 Mon Sep 17 00:00:00 2001 From: Tim Hovius Date: Wed, 2 Mar 2016 12:30:52 +0100 Subject: [PATCH 1/2] Fixed typo in path --- cookbook/form/create_custom_field_type.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbook/form/create_custom_field_type.rst b/cookbook/form/create_custom_field_type.rst index f83c60d35cf..aad19a140a6 100644 --- a/cookbook/form/create_custom_field_type.rst +++ b/cookbook/form/create_custom_field_type.rst @@ -169,13 +169,13 @@ link for details), create a ``gender_widget`` block to handle this: # app/config/config.yml twig: form_themes: - - 'form/fields.html.twig' + - 'Form/fields.html.twig' .. code-block:: xml - form/fields.html.twig + Form/fields.html.twig .. code-block:: php @@ -183,7 +183,7 @@ link for details), create a ``gender_widget`` block to handle this: // app/config/config.php $container->loadFromExtension('twig', array( 'form_themes' => array( - 'form/fields.html.twig', + 'Form/fields.html.twig', ), )); From 013475ffbbf1f63a973468d0864b138b90ef4329 Mon Sep 17 00:00:00 2001 From: Tim Hovius Date: Mon, 14 Mar 2016 12:03:18 +0100 Subject: [PATCH 2/2] Changed folder name to lowercase (best practises) --- cookbook/form/create_custom_field_type.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cookbook/form/create_custom_field_type.rst b/cookbook/form/create_custom_field_type.rst index aad19a140a6..62ac1906751 100644 --- a/cookbook/form/create_custom_field_type.rst +++ b/cookbook/form/create_custom_field_type.rst @@ -117,7 +117,7 @@ link for details), create a ``gender_widget`` block to handle this: .. code-block:: html+twig - {# app/Resources/views/Form/fields.html.twig #} + {# app/Resources/views/form/fields.html.twig #} {% block gender_widget %} {% spaceless %} {% if expanded %} @@ -138,7 +138,7 @@ link for details), create a ``gender_widget`` block to handle this: .. code-block:: html+php - +