diff --git a/app/view/Partie/displayForm.html b/app/view/Partie/displayForm.html index b2fa5a3c65ebb41ee2bcfba82a0f0c581dd62b37..ca37245d0ea8de27b8477610213dc2f063d1c874 100644 --- a/app/view/Partie/displayForm.html +++ b/app/view/Partie/displayForm.html @@ -1,34 +1,34 @@ -<!DOCTYPE html> -<html lang="fr"> -<head> - <meta charset="UTF-8"> - <title>Formulaire d'ajout de partie</title> -</head> -<body> -<header> - <h1>Formulaire d'ajout de partie</h1> -</header> -<form method="post" action="add_partie/verify"> - <label for="jeu">Jeu : </label> - <select name="jeu" id="jeu"> - <?php foreach($this->liste as $jeu){ ?> - <option><?php echo $jeu->nom; ?></option> - <?php } ?> - </select><br /> - <label for="joueurs">Joueurs :</label> - <select name="joueurs[]" id="joueurs" multiple="multiple" size="5"> - <?php foreach($this->listej as $joueur){ ?> - <option><?php echo $joueur->nom; ?></option> - <?php } ?> - </select> - <br/> - <label for="scores">Scores :</label><input type="text" name="scores" id="scores" /><br/> - <input type="submit" value="Ajouter" /> -</form> +<?php $page_title = "Formulaire d'ajout de partie"; + $RACINE = ".."; ?> +<?php include(ROOT."/app/view/Includes/header.include.html"); ?> -<footer> - <p>Le pied de page</p> -</footer> -</body> -</html> \ No newline at end of file + + <article> + <h2>Formulaire d'ajout de partie</h2> + <div class="addjeu-form"> + <form method="post" action="add_partie/verify"> + <label for="jeu">Jeu : </label> + <select name="jeu" id="jeu"> + <?php foreach($this->liste as $jeu){ ?> + <option><?php echo $jeu->nom; ?></option> + <?php } ?> + </select><br /> + <label for="joueurs">Joueurs :</label> + <select name="joueurs[]" id="joueurs" multiple="multiple" size="5"> + <?php foreach($this->listej as $joueur){ ?> + <option><?php echo $joueur->nom; ?></option> + <?php } ?> + </select> + <br/> + <label for="scores">Scores :</label><input type="text" name="scores" id="scores" /><br/> + <div class="submit"> + <input type="reset" name="reset" value="Réinitialiser" /> + <input type="submit" name="submit" value="Demander l'ajout" /> + </div> + </form> + </div> + </article> + + +<?php include(ROOT."/app/view/Includes/footer.include.html"); ?>