Initial Commit
This commit is contained in:
24
resources/views/components/form-alerts.blade.php
Normal file
24
resources/views/components/form-alerts.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="alerts-section mb-3">
|
||||
|
||||
@if (Session::get('info'))
|
||||
<div class="alert alert-info d-flex justify-content-between align-items-center">
|
||||
<div>{!! Session::get('info') !!}</div>
|
||||
<button class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (Session::get('fail'))
|
||||
<div class="alert alert-danger d-flex justify-content-between align-items-center">
|
||||
<div>{!! Session::get('fail') !!}</div>
|
||||
<button class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (Session::get('success'))
|
||||
<div class="alert alert-success d-flex justify-content-between align-items-center">
|
||||
<div>{!! Session::get('success') !!}</div>
|
||||
<button class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user