From 11cdca95ea318a7273419f25ab5e6162b879ad23 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Fri, 5 Aug 2022 23:56:26 +0200 Subject: [PATCH] formulaire rempli --- web/html/users.html | 16 ++++++++-------- web/js/users.js | 13 ++++++++++++- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/web/html/users.html b/web/html/users.html index 5d3087c..b4f034b 100644 --- a/web/html/users.html +++ b/web/html/users.html @@ -165,22 +165,22 @@
- - + +
- Date de naissance - + Date de naissance +
- - diff --git a/web/js/users.js b/web/js/users.js index 8269f9f..78daf72 100644 --- a/web/js/users.js +++ b/web/js/users.js @@ -5,10 +5,21 @@ var id = getQuery("id"); if(id.length > 0){ instance.get("users/"+id, {withCredentials: true}) .then(function(response){ - var listValue = [ "id", "pseudo", "name", "firstName", "email"]; + var listValue = [ "id", "pseudo", "name", "firstName", "email", "birth"]; for (var i=0; i