You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
665 B
PHTML
18 lines
665 B
PHTML
8 months ago
|
<?php if (session('error') !== null) : ?>
|
||
|
<div class="alert alert-danger" role="alert"><?= session('error') ?></div>
|
||
|
<?php elseif (session('errors') !== null) : ?>
|
||
|
<div class="alert alert-danger" role="alert">
|
||
|
<?php if (is_array(session('errors'))) : ?>
|
||
|
<?php foreach (session('errors') as $error) : ?>
|
||
|
<?= $error ?>
|
||
|
<br>
|
||
|
<?php endforeach ?>
|
||
|
<?php else : ?>
|
||
|
<?= session('errors') ?>
|
||
|
<?php endif ?>
|
||
|
</div>
|
||
|
<?php endif ?>
|
||
|
|
||
|
<?php if (session('message') !== null) : ?>
|
||
|
<div class="alert alert-success" role="alert"><?= session('message') ?></div>
|
||
|
<?php endif ?>
|