Files
bibliogame/templates/partials/flash.php
T
2026-09-29 10:45:14 +02:00

8 lines
390 B
PHP

<?php $flash = Flash::consommer(); ?>
<?php if ($flash !== null): ?>
<div class="alert alert-<?php print Helpers::echapper($flash["type"]); ?> alert-dismissible fade show app-alert" role="alert">
<?php print Helpers::echapper($flash["message"]); ?>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Fermer"></button>
</div>
<?php endif; ?>