twig
This commit is contained in:
25
crud/vue/details.twig
Normal file
25
crud/vue/details.twig
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Détails de l'utilisateur</title>
|
||||
<link rel="stylesheet" href="style/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<h1>Détails pour l’utilisateur {{ user.login }}</h1>
|
||||
<p>ID : {{ user.id }}</p>
|
||||
<p>Login : {{ user.login }}</p>
|
||||
<p>FirstName : {{ user.firstname }}</p>
|
||||
<p>LastName : {{ user.lastname }}</p>
|
||||
<p>Role : {{ user.role }}</p>
|
||||
<p>
|
||||
<button onclick="window.location.href='edit.php?id={{ user.id }}'">Modifier</button>
|
||||
<button onclick="window.location.href='delete.php?id={{ user.id }}'">Supprimer</button>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user