From 735589794af01d18c4a9cc7635ae47bfdc0ce779 Mon Sep 17 00:00:00 2001 From: Prasham Marfatia Date: Fri, 27 Sep 2024 12:08:14 -0400 Subject: [PATCH] Add id as an additional parameter to wtf.render_form to remove wrapping around form tags --- src/indra_cogex/apps/templates/base_form.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/indra_cogex/apps/templates/base_form.html b/src/indra_cogex/apps/templates/base_form.html index ec7c4969b..ddaf89b25 100644 --- a/src/indra_cogex/apps/templates/base_form.html +++ b/src/indra_cogex/apps/templates/base_form.html @@ -6,9 +6,7 @@

{% block header %}{% endblock %}

{% block lead %}{% endblock %}

-
- {{ wtf.render_form(form) }} -
+ {{ wtf.render_form(form, method="POST", id="main-form") }} {% endblock %} {% block scripts %}