aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
blob: a2673a2b5ee3f591dde56cef4a2825b78fcbf6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "base.html" %}

{% block title %}
  Connexion
{% endblock title %}

{% block main %}

  <section class="g-Section">
    <form class="g-Login g-Form" action="/login" method="POST">

      {% if error %}
        <div class="g-Form__Error">{{ error }}</div>
      {% endif %}

      <label class="g-Form__Label">
        Email
        <input name="email" class="g-Form__Input" required autofocus />
      </label>

      <label class="g-Form__Label">
        Mot de passe
        <input name="password" type="password" class="g-Form__Input" required />
      </label>

      <div>
        <input class="g-Login__Button g-Button__Validate" type="submit" value="Connexion" />
      </div>

    </form>
  </section>

{% endblock main %}