aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/post
diff options
context:
space:
mode:
Diffstat (limited to 'theme/admin/html/post')
-rw-r--r--theme/admin/html/post/form.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/theme/admin/html/post/form.php b/theme/admin/html/post/form.php
index 50f8fa6..e6966ea 100644
--- a/theme/admin/html/post/form.php
+++ b/theme/admin/html/post/form.php
@@ -1,16 +1,16 @@
+<?php if($FORM['INFO']): ?>
+ <div id="message-list-wrapper">
+ <ul id="message-list">
+ <?php foreach($FORM['INFO'] as $message): ?>
+ <li><?=$message?></li>
+ <?php endforeach ?>
+ </ul>
+ </div>
+<?php endif ?>
+
<form action="" method="POST">
<input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
- <?php if($FORM['INFO']): ?>
- <div class="flex flex-direction-column">
- <ul id="message-list">
- <?php foreach($FORM['INFO'] as $message): ?>
- <li><?=$message?></li>
- <?php endforeach; ?>
- </ul>
- </div>
- <?php endif; ?>
-
<?php if($FORM['TYPE'] !== 'DELETE'): ?>
<div class="flex flex-responsive">
<div class="flex-item">
@@ -95,4 +95,4 @@
<input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
<?php endif; ?>
</div>
-</form> \ No newline at end of file
+</form>