From 1f9a3d3b4156aef3562efec41da3f2b6cc8ec74b Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Thu, 21 Apr 2022 17:19:14 +0200 Subject: Rename "submit" to "submit_btn" Otherwise, wtforms use "submit" as id of the tag, shadowing javascript function ".submit()". --- ogcp/templates/auth/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/templates/auth/login.html') diff --git a/ogcp/templates/auth/login.html b/ogcp/templates/auth/login.html index 182bd52..ee3f2e3 100644 --- a/ogcp/templates/auth/login.html +++ b/ogcp/templates/auth/login.html @@ -15,7 +15,7 @@ {{ wtf.quick_form(form, method='post', form_type='basic', - button_map={'submit':'primary'}) }} + button_map={'submit_btn':'primary'}) }} -- cgit v1.2.3-18-g5258