aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
blob: fd4cfe9b6ad39b6d168004b20750821bb20752ae (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
{% extends "base.html" %}

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

{% block main %}

  <div>
    <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" for="email">Email</label>
      <input name="email" class="g-Form__Input" id="email" required autofocus />

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

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

    </form>
  </div>

{% endblock main %}