From 111795679e3d87b050f78399c021403827e7afbc Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 4 Jun 2021 15:31:07 +0530 Subject: fixed contact form --- app/templates/contact.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/templates/contact.html b/app/templates/contact.html index c07032a..13f065d 100644 --- a/app/templates/contact.html +++ b/app/templates/contact.html @@ -10,6 +10,7 @@
{% include 'flash_messages.html' %} {{ form.csrf_token }} + {% from "_formhelpers.html" import render_field %}
{{ form.name.label }} {{ form.name(class="form-control") }}
@@ -27,11 +28,4 @@
-{% if form.name.errors %} - -{% endif %} {% endblock %} \ No newline at end of file -- cgit v1.2.3