1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

Updated error alert component

This commit is contained in:
cp6 2022-09-22 12:25:56 +10:00
parent d4052259cd
commit 6b4f4e8437

View File

@ -1,9 +1,5 @@
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@if ($message = Session::get('error'))
<div class="alert alert-danger" role="alert">
<p class="my-1">{{ $message }}</p>
</div>
@endif