From 27a411fe69cd3d8f669acb76b56d2390efc86deb Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 9 Feb 2020 17:45:22 +0100 Subject: Password change --- templates/passwd.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 templates/passwd.html (limited to 'templates/passwd.html') diff --git a/templates/passwd.html b/templates/passwd.html new file mode 100644 index 0000000..7dffcb8 --- /dev/null +++ b/templates/passwd.html @@ -0,0 +1,37 @@ +{{define "title"}}Mot de passe |{{end}} + +{{define "body"}} +

Modifier mon mot de passe

+ + {{if .ErrorMessage}} +
Impossible d'effectuer la modification. +
{{ .ErrorMessage }}
+
+ {{end}} + {{if .Success}} +
+ Nouveau mot de passe enregistré. +
+ Retour + {{else}} +
+
+ + +
+
+ + +
+ {{if .NoMatchError}} +
+ Les deux mots de passe entrés ne correspondent pas. +
+ {{end}} +
+ + Annuler +
+
+ {{end}} +{{end}} -- cgit v1.2.3