From 21d69eb07529093dfd37b8cefcf0787e4aff041b Mon Sep 17 00:00:00 2001 From: Alexander Schwenn Date: Sun, 7 Dec 2014 02:14:57 +0100 Subject: [PATCH] Replace form_enctype(form) with form_start(form). Since form_enctype(form) is deprecated since 2.3 form_start(form) should be used. --- best_practices/forms.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/best_practices/forms.rst b/best_practices/forms.rst index e8a7192fc82..60028850352 100644 --- a/best_practices/forms.rst +++ b/best_practices/forms.rst @@ -145,12 +145,12 @@ view layer: .. code-block:: html+jinja -
+ {{ form_start(form) }} {{ form_widget(form) }} -
+ {{ form_end(form) }} Rendering the Form ------------------