From 32cdca7c2e039693e425069983371b72174d6500 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 28 Oct 2013 08:48:17 +0100 Subject: [PATCH] fix HTML so that the syntax highlighting is not broken --- book/forms.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/forms.rst b/book/forms.rst index f15d9fac1bd..bffcac0834d 100644 --- a/book/forms.rst +++ b/book/forms.rst @@ -1234,7 +1234,7 @@ renders the form: {% form_theme form 'AcmeTaskBundle:Form:fields.html.twig' 'AcmeTaskBundle:Form:fields2.html.twig' %} -
+ .. code-block:: html+php @@ -1243,7 +1243,7 @@ renders the form: setTheme($form, array('AcmeTaskBundle:Form', 'AcmeTaskBundle:Form')) ?> - + The ``form_theme`` tag (in Twig) "imports" the fragments defined in the given template and uses them when rendering the form. In other words, when the