my-idlers/resources/views/components/response-alerts.blade.php
cp6 c52a55dd5a Added response alert for success and error
Added response alert for success and error
2022-10-13 14:34:00 +11:00

10 lines
299 B
PHP

@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