blob: d2bb8cb1efd10d984dd561d40e4f0e53f671170b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{% extends "layout.html" %}
{%block title %}Connexion{% endblock %}
{% block body %}
<form id = "connection" action="{{ url_for('login') }}" method="post">
<fieldset>
<legend>Connexion</legend>
<p>
<label for="name">Nom : </label>
<input type="text" id="name" name=username /><br/>
<label for="password">Mot de passe : </label>
<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 %}
|