Newer
Older

Yassine Doghri
committed
<?php if (session()->has('message')): ?>

Yassine Doghri
committed
<div class="px-4 py-2 mb-4 font-semibold text-green-900 bg-green-200 border border-green-700">
<?= session('message') ?>
</div>

Yassine Doghri
committed
<?php endif; ?>
<?php if (session()->has('error')): ?>

Yassine Doghri
committed
<div class="px-4 py-2 mb-4 font-semibold text-red-900 bg-red-200 border border-red-700">
<?= session('error') ?>
</div>

Yassine Doghri
committed
<?php endif; ?>
<?php if (session()->has('errors')): ?>

Yassine Doghri
committed
<<<<<<< HEAD
<ul class="px-4 py-2 mb-4 font-semibold text-red-900 bg-red-200 border border-red-700">

Yassine Doghri
committed
<?php foreach (session('errors') as $error): ?>
<li><?= $error ?></li>
<?php endforeach; ?>
</ul>
<?php endif;
?>

Yassine Doghri
committed
=======
<ul class="px-4 py-2 mb-4 font-semibold text-red-900 bg-red-200 border border-red-700">
<?php foreach (session('errors') as $error): ?>
<li><?= $error ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
>>>>>>> ef31ffe... refactor: add php_codesniffer to define castopod's coding style based on psr-1