diff options
author | Joris | 2021-01-03 13:40:40 +0100 |
---|---|---|
committer | Joris | 2021-01-03 13:54:20 +0100 |
commit | 11052951b74b9ad4b6a9412ae490086235f9154b (patch) | |
tree | 64526ac926c1bf470ea113f6cac8a33158684e8d /templates/login.html | |
parent | 371449b0e312a03162b78797b83dee9d81706669 (diff) |
Rewrite in Rust
Diffstat (limited to 'templates/login.html')
-rw-r--r-- | templates/login.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..fd4cfe9 --- /dev/null +++ b/templates/login.html @@ -0,0 +1,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 %} |