aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
blob: 48a7410f64aca35fe493c20b8b28c355ea846f9a (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
34
35
36
37
{% extends "base.html" %}

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

{% block main %}

  <section class="g-Login">
    <header>
      <h1 class="g-Login__Title g-Header__Title">Budget</h1>
    </header>

    <form class="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 %}