diff options
Diffstat (limited to 'templates/login.html')
| -rw-r--r-- | templates/login.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/login.html b/templates/login.html index d1b94ee..d2bb8cb 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,8 +1,6 @@ {% extends "layout.html" %} -{% block content %} - -<h2>Login</h2> -{% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %} +{%block title %}Connexion{% endblock %} +{% block body %} <form id = "connection" action="{{ url_for('login') }}" method="post"> <fieldset> <legend>Connexion</legend> @@ -13,5 +11,6 @@ <input type="password" id="password" name=password /><br/> </p> <p class="submit"><input type="submit" value="Se connecter"/></p> + {% if error %}<p class=error><strong>Erreur:</strong> {{ error }}</p>{% endif %} </form> {% endblock %} |
