From 6bfa93c807c6667f6d60fc5a57c98a2870abee77 Mon Sep 17 00:00:00 2001 From: Bram Date: Sat, 27 May 2023 21:18:42 +0200 Subject: [PATCH] docs(forms): fix example by including how "wtf" variable is defined Otherwise someone can lose a lost of time looking for this information which is hidden in the example template. --- docs/forms.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/forms.rst b/docs/forms.rst index 093b7562..3ca0297f 100644 --- a/docs/forms.rst +++ b/docs/forms.rst @@ -10,6 +10,7 @@ last few versions, Flask-Bootstrap is currently developed for Flask-WTF_ version The most basic way is using them as an aid to create a form by hand: .. code-block:: jinja + {% import "bootstrap/wtf.html" as wtf %}
{{ form.hidden_tag() }}