added came_from to login.jinja2

This commit is contained in:
2023-02-08 11:10:41 +01:00
parent e60212239e
commit 7059553a03
6 changed files with 9 additions and 13 deletions

View File

@@ -7,6 +7,8 @@
<form action="{{ login_url }}" method="post">
<h2>Se connecter</h2>
<input type="hidden" name="came_from" value="{{ came_from }}" />
<div class="form-group">
<input type="text" name="username" class="form-control" placeholder="Identifiant">
</div>
@@ -14,7 +16,7 @@
<input type="password" name="password" class="form-control" placeholder="Mot de passe">
</div>
<div class="form-group">
<input type="submit" value="Se connecter" class="btn btn-primary">
<input type="submit" name="form.submitted" value="Se connecter" class="btn btn-primary">
</div>
</form>