mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 15:33:22 +00:00
64 lines
2.6 KiB
HTML
64 lines
2.6 KiB
HTML
{% load static %}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="{% static 'css/main.css' %}">
|
|
<title>Monteschool</title>
|
|
</head>
|
|
<body>
|
|
<div class="container negative full-size">
|
|
<div class="logo-circular centered">
|
|
<img src="{% static 'img/logo_min.svg' %}" alt="">
|
|
</div>
|
|
<h1 class="login-heading">Nouveau Mot de Passe</h1>
|
|
<form class="negative centered login-form" method="post">
|
|
{% csrf_token %}
|
|
<div class="input-group" hidden>
|
|
<label for="userInput">Identifiant</label>
|
|
<div class="input-wrapper">
|
|
<span class="icon-ctn">
|
|
<i class="icon user"></i>
|
|
</span>
|
|
<input type="text" id="userInput" placeholder='Identifiant' value='{{ identifiant }}' name="email">
|
|
</div>
|
|
</div>
|
|
<div class="input-group">
|
|
<label for="password">{{ form.password1.label }}</label>
|
|
<div class="input-wrapper">
|
|
<span class="icon-ctn">
|
|
<i class="icon key"></i>
|
|
</span>
|
|
<input type="password" id="password" placeholder="{{ form.password1.label }}" name="password1">
|
|
</div>
|
|
</div>
|
|
<div class="input-group">
|
|
<label for="confirmPassword">{{ form.password2.label }}</label>
|
|
<div class="input-wrapper">
|
|
<span class="icon-ctn">
|
|
<i class="icon key"></i>
|
|
</span>
|
|
<input type="password" id="confirmPassword" placeholder="{{ form.password2.label }}" name="password2">
|
|
</div>
|
|
</div>
|
|
<p style="color:#FF0000">{{ message }}</p>
|
|
{% if form.errors %}
|
|
{% for field in form %}
|
|
{% for error in field.errors %}
|
|
<p style="color:#FF0000">{{ error }}</p>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% for error in form.non_field_errors %}
|
|
<p style="color:#FF0000">{{ error }}</p>
|
|
{% endfor %}
|
|
{% endif %}
|
|
<div class="form-group-submit negative">
|
|
<button href="" class="btn primary" type="submit" name="save">Enregistrer</button>
|
|
<br>
|
|
<button href="" class="btn" type="submit" name="cancel">Annuler</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |