30 lines
1.3 KiB
Twig
30 lines
1.3 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Modification de l'utilisateur</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
{# <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> #}
|
|
{# <link rel="stylesheet"
|
|
href="style/style.css"> #}
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container text-center bg-light">
|
|
<h1>Modifier un utilisateur</h1>
|
|
<form method="post">
|
|
<label for="login">Login</label>
|
|
<input type="text" class="form-control" name="login" id="login" value="{{ user.login }}">
|
|
<label for="description">Description</label>
|
|
<input type="text" class="form-control" name="description" id="description" value="{{ user.description }}">
|
|
<label for="role">Role</label>
|
|
<input type="number" class="form-control" name="role" id="role" value="{{ user.role }}">
|
|
<input type="submit" class="btn btn-success" name="Enregistrer" value="Enregistrer"/>
|
|
<input type="hidden" name="id" value="{{ user.id }}">
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |