Continue arg in login and logout routes
[cavote.git] / templates / login.html
index 85d5b07..b00dc72 100644 (file)
@@ -1,8 +1,8 @@
 {% extends "layout.html" %}
 {% block body %}
 <div class="row">
-  <div class="span3 well">
-    <form action="{{ url_for('login') }}" method="post">
+  <div class="span3 well offset1">
+    <form action="{{ url_for('login', continue=request.args.continue) }}" method="post">
     <fieldset><legend>Connexion</legend>
       <label for="username">E-mail</label>
       <input type="text" name="username" id="username" value="{{ request.form.username }}"/>