twig
This commit is contained in:
31
crud/add.php
31
crud/add.php
@@ -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');
|
||||
Reference in New Issue
Block a user