blob: d1b94ee8aed52067c5ec6a3955479d6dee1f07b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{% extends "layout.html" %}
{% block content %}
<h2>Login</h2>
{% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %}
<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>
</form>
{% endblock %}
|