mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
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