aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/auth.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-12 22:29:17 +0200
committerThomas Lange <code@nerdmind.de>2021-06-12 22:29:17 +0200
commit5a5e04a43b3beba53e2c773f3dc55f9acc0a7460 (patch)
tree35a2ff8897a8401b02d2763d52396151224b6bef /theme/admin/html/auth.php
parentdfc32b1b8b7d1686d8c8c4fa55a2eb413abfbe9a (diff)
downloadblog-5a5e04a43b3beba53e2c773f3dc55f9acc0a7460.tar.gz
blog-5a5e04a43b3beba53e2c773f3dc55f9acc0a7460.tar.xz
blog-5a5e04a43b3beba53e2c773f3dc55f9acc0a7460.zip
Place message boxes outside the <form> elements
Diffstat (limited to 'theme/admin/html/auth.php')
-rw-r--r--theme/admin/html/auth.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/theme/admin/html/auth.php b/theme/admin/html/auth.php
index ebb7a2a..c1dedda 100644
--- a/theme/admin/html/auth.php
+++ b/theme/admin/html/auth.php
@@ -1,19 +1,19 @@
<h1><i class="fa fa-sign-in"></i><?=$Language->text('authentication_text')?></h1>
<p><?=$Language->text('authentication_desc')?></p>
+<?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; ?>
-
<div class="flex">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user-secret"></i></div>