guichet/templates/lost_password.html

35 lines
1.1 KiB
HTML
Raw Normal View History

2023-07-23 06:29:01 +00:00
{{define "title"}}G Pas | Je n'ai pas mon mal de passe{{end}}
{{define "body"}}
<h2>G Pas</h2>
<p>Refaire son mot de passe</p>
{{if .ErrorMessage}}
<div class="alert alert-danger">Impossible
<div style="font-size: 0.8em">{{ .ErrorMessage }}</div>
</div>
{{end}}
{{if .Success}}
<div class="alert alert-success mt-4">
Email envoyé au courriel de secours.
</div>
{{end}}
<form method="POST">
<div class="form-group">
<label for="username">Identifiant :</label>
<input type="text" name="username" id="username" class="form-control" value="{{ .Username }}" />
</div>
<div class="form-group">
<label for="username">Mail (@resdigita.com) :</label>
<input type="text" name="mail" id="mail" class="form-control" value="{{ .Mail }}" />
</div>
<div class="form-group">
<label for="username">Mail de secours :</label>
<input type="text" name="othermailbox" id="othermailbox" class="form-control" value="{{ .OtherMailbox }}" />
2023-07-23 06:29:01 +00:00
</div>
2023-07-23 06:34:06 +00:00
<button type="submit" class="btn btn-primary">Refaire son mal de passe</button>
</form>
<script src="/static/javascript/minio.js"></script>
2023-07-23 06:29:01 +00:00
{{end}}