Added response alert for success and error

Added response alert for success and error
This commit is contained in:
cp6 2022-10-13 14:34:00 +11:00
parent 888171c970
commit c52a55dd5a

View File

@ -0,0 +1,9 @@
@if ($message = Session::get('success'))
<div class="alert alert-success" role="alert">
<p class="my-1">{{ $message }}</p>
</div>
@elseif($message = Session::get('error'))
<div class="alert alert-danger" role="alert">
<p class="my-1">{{ $message }}</p>
</div>
@endif