SAE_2A_FA-Reseau_ALICA/php/templates/creerEvenement.html

50 lines
2.1 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Créer un Événement</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<div class="container mt-5">
<h1 class="text-center">Créer un Événement</h1>
<form action="{{dir}}/admin/{{id}}/creerEvenement" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="titre">Titre de l'Événement :</label>
<input type="text" class="form-control" id="titre" name="titre" required>
</div>
<div class="form-group">
<label for="description">Description de l'Événement :</label>
<textarea class="form-control" id="description" name="description" rows="4" required></textarea>
</div>
<div class="form-group">
<label for="date">Date de l'Événement :</label>
<input type="date" class="form-control" id="date" name="date" required>
</div>
<div class="form-group">
<label for="nbPlaceMax">Nombre maximal d'inscrits :</label>
<input type="number" class="form-control" id="nbPlaceMax" name="nbPlaceMax" required>
</div>
<div class="form-group">
<label for="image">Image de l'Événement :</label>
<input type="file" class="form-control-file" name="image" id="image" required>
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Créer l'Événement">
</div>
</form>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>