diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-06-29 21:33:30 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-06-29 21:33:30 +0200 |
commit | 09ae6bb5e62bb994546682ffc5726067ca08e77a (patch) | |
tree | 8b998ddd0e4d02371298c41f264eb47fef58d3fb | |
parent | edb55bf810679d4189b195d621b166c4ca00315e (diff) | |
download | fietsboek-09ae6bb5e62bb994546682ffc5726067ca08e77a.tar.gz fietsboek-09ae6bb5e62bb994546682ffc5726067ca08e77a.tar.bz2 fietsboek-09ae6bb5e62bb994546682ffc5726067ca08e77a.zip |
form target -> action
This is the correct way to do it.
-rw-r--r-- | fietsboek/templates/login.jinja2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/templates/login.jinja2 b/fietsboek/templates/login.jinja2 index 0f2d0c3..42c3221 100644 --- a/fietsboek/templates/login.jinja2 +++ b/fietsboek/templates/login.jinja2 @@ -3,7 +3,7 @@ {% block content %} <div class="container"> <h1>{{ _("page.login.title") }}</h1> - <form method="POST" target="{{ request.route_path('login') }}"> + <form method="POST" action="{{ request.route_path('login') }}"> <label for="loginEmail" class="form-label">{{ _("page.login.email") }}</label> <div class="row mb-3"> <div class="col-lg-5"> |