Added response alert for success and error
Added response alert for success and error
This commit is contained in:
parent
888171c970
commit
c52a55dd5a
9
resources/views/components/response-alerts.blade.php
Normal file
9
resources/views/components/response-alerts.blade.php
Normal 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
|
Loading…
Reference in New Issue
Block a user