Alert Messages
Now we want users to know what's the status of their request by displaying an alert message.
Last updated
Now we want users to know what's the status of their request by displaying an alert message.
Last updated
<?= alert_msg('danger') ?><?php if (!empty(Error::any())) { ?>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<?= implode("<br>", Error::any()) ?>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<?php } ?> </div>
</div>
</div>
<?php Error::clear() ?>
<?php require __DIR__ . '/../layouts/footer.php'; ?>