diff --git a/template.php b/template.php
index ed653758c31a73701de856a33833a6adc2e11ab1..2b4a77e2fc30127afeac6a8fb7f7f9d97f2ea4da 100644
--- a/template.php
+++ b/template.php
@@ -43,13 +43,13 @@
 
     <?php if (count($templateData['errors'])) { ?>
       <?php foreach ($templateData['errors'] as $message) { ?>
-        <div class="alert alert-warning" role="alert"><?php echo $message; ?></div>
+        <div class="alert alert-warning mt-2" role="alert"><?php echo $message; ?></div>
       <?php } ?>
     <?php } ?>
 
     <?php if (count($templateData['infos'])) { ?>
       <?php foreach ($templateData['infos'] as $message) { ?>
-        <div class="alert alert-primary" role="alert"><?php echo $message; ?></div>
+        <div class="alert alert-primary mt-2" role="alert"><?php echo $message; ?></div>
       <?php } ?>
     <?php } ?>