This commit is contained in:
2024-10-11 17:15:04 +02:00
parent a390944917
commit fdc4037786
11 changed files with 163 additions and 138 deletions

View File

@@ -30,33 +30,8 @@ if (isset($_POST)) {
}
}
require_once('close.php');
?>
<!DOCTYPE html>
<html lang="en">
$vue = "add.twig";
$donnees = array();
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style/style.css"/>
<title>Ajouter utilisateur</title>
</head>
<body>
<form method="post">
<label for="login">Utilisateur</label>
<input type="text" name="login" id="login">
<label for="password">Mot de passe</label>
<input type="text" name="password" id="password" />
<label for="firstname">Prénom</label>
<input type="text" name="firstname" id="firstname">
<label for="lastname">Nom de famille</label>
<input type="text" name="lastname" id="lastname" />
<label for="role">Role</label>
<input type="number" name="role" id="role">
<label for="description">Description</label>
<textarea name="description"></textarea>
<button>Enregistrer</button>
</form>
</body>
</html>
require_once('modele/twig.php');