We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816cce7 commit 62cf0d9Copy full SHA for 62cf0d9
user_guide_src/source/libraries/validation/030.php
@@ -1,7 +1,9 @@
1
<?php if (! empty($errors)): ?>
2
- <div class="alert alert-danger">
3
- <?php foreach ($errors as $field => $error): ?>
4
- <p><?= esc($error) ?></p>
5
- <?php endforeach ?>
+ <div class="alert alert-danger" role="alert">
+ <ul>
+ <?php foreach ($errors as $error): ?>
+ <li><?= esc($error) ?></li>
6
+ <?php endforeach ?>
7
+ </ul>
8
</div>
9
<?php endif ?>
0 commit comments