diff --git a/php/index.php b/php/index.php index 1847e2db6ee4a42954e6723fa9b3c40bc354de88..11b9a3cd25df81560ceb75a396aca9ee9d30737d 100644 --- a/php/index.php +++ b/php/index.php @@ -62,7 +62,7 @@ $app->get('/api/platform/:id', function ($idPlatform) use ($app) { $app->post('/api/games/:id/comments', function ($idGame) use ($app) { $c = new controleur\CtrlComment(); $c->posterCommentaire($idGame, $_POST); - $app->response->headers->set('Content-Type', 'application/json'); + // $app->response->headers->set('Content-Type', 'application/json'); })->name('posterCommentaire'); $app->run(); \ No newline at end of file diff --git a/php/src/vues/VueComment.php b/php/src/vues/VueComment.php index 27eb193b695246b553125af51fc48b5059faf2ad..3970f27b6c3cf581d325c3c11c195f457f6563f5 100644 --- a/php/src/vues/VueComment.php +++ b/php/src/vues/VueComment.php @@ -16,7 +16,7 @@ class VueComment { public function creerCommentaire() { echo <<< end <form method=POST> - <div class="form-bigtitle">Ajout de commentaire !</div> + <div class="form-bigtitle"><br>Ajout de commentaire !</div> <div class="form-email"> <textarea name=email placeholder="Email"></textarea> </div>