summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/auth
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-21 17:19:14 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-22 09:11:48 +0200
commit1f9a3d3b4156aef3562efec41da3f2b6cc8ec74b (patch)
tree1e62ac0f4b9f3d07937d0f7efddbc48a5e268f28 /ogcp/templates/auth
parent09884080c359b32576cf2c0a3128b481f5566932 (diff)
Rename "submit" to "submit_btn"
Otherwise, wtforms use "submit" as id of the <input> tag, shadowing javascript function ".submit()".
Diffstat (limited to 'ogcp/templates/auth')
-rw-r--r--ogcp/templates/auth/login.html2
1 files changed, 1 insertions, 1 deletions
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'}) }}
</div>
<!-- /.login-card-body -->
</div>