From 2f7758d0e369eea13d9caa2138bf8de89a4209bd Mon Sep 17 00:00:00 2001 From: Sebastiaan Stok Date: Mon, 9 Feb 2015 11:44:17 +0100 Subject: [PATCH] fix wrong header-line syntax --- cookbook/form/create_form_type_extension.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/form/create_form_type_extension.rst b/cookbook/form/create_form_type_extension.rst index 02cef5f12b7..1178b180c39 100644 --- a/cookbook/form/create_form_type_extension.rst +++ b/cookbook/form/create_form_type_extension.rst @@ -92,7 +92,7 @@ For more information on what those methods do, you can refer to the cookbook article. Registering your Form Type Extension as a Service --------------------------------------------------- +------------------------------------------------- The next step is to make Symfony aware of your extension. All you need to do is to declare it as a service by using the ``form.type_extension`` @@ -290,7 +290,7 @@ Specifically, you need to override the ``file_widget`` block: information. Using the Form Type Extension ------------------------------- +----------------------------- From now on, when adding a field of type ``file`` in your form, you can specify an ``image_path`` option that will be used to display an image