34 lines
864 B
PHP
34 lines
864 B
PHP
|
|
<!-- success flash -->
|
|
<?php if (session()->get('success')): ?>
|
|
<div class="alert alert-success" role="alert">
|
|
<?= session()->get('success') ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
|
|
<!-- info flash -->
|
|
<?php if (session()->get('info')): ?>
|
|
<div class="alert alert-info" role="alert">
|
|
<h4 class="alert-heading"><?= session()->get('info')['title'] ?></h4>
|
|
<hr>
|
|
<?= session()->get('info')['body'] ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
|
|
<!-- warning flash -->
|
|
<?php if (session()->get('warning')): ?>
|
|
<div class="alert alert-warning" role="alert">
|
|
<?= session()->get('warning') ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
|
|
<!-- warning flash -->
|
|
<?php if (session()->get('danger')): ?>
|
|
<div class="alert alert-danger" role="alert">
|
|
<?= session()->get('danger') ?>
|
|
</div>
|
|
<?php endif; ?>
|