summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/auth.py
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/forms/auth.py
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/forms/auth.py')
-rw-r--r--ogcp/forms/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/forms/auth.py b/ogcp/forms/auth.py
index 72fc5c0..15534a6 100644
--- a/ogcp/forms/auth.py
+++ b/ogcp/forms/auth.py
@@ -23,6 +23,6 @@ class LoginForm(FlaskForm):
label=_l('Password'),
validators=[InputRequired()]
)
- submit = SubmitField(
+ submit_btn = SubmitField(
label=_l('Login')
)