From 503714fa474e82966ec639b425cc8bcb62e76cef Mon Sep 17 00:00:00 2001
From: FRANTZEN Rejane <elfora54@gmail.com>
Date: Fri, 27 Mar 2020 16:10:07 +0100
Subject: [PATCH] maj q8

---
 php/index.php               | 2 +-
 php/src/vues/VueComment.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/php/index.php b/php/index.php
index 1847e2d..11b9a3c 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 27eb193..3970f27 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>
-- 
GitLab