summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/forms/auth.py2
-rw-r--r--ogcp/templates/auth/login.html2
2 files changed, 2 insertions, 2 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')
)
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>