23 lines
671 B
PHP
23 lines
671 B
PHP
<!-- Success -->
|
|
@if(session()->has('success'))
|
|
<div class="alert alert-success alert-dismissible">
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
<h5><i class="icon fas fa-check"></i> Success!</h5>
|
|
<ul>
|
|
<li>{{ session()->get('success') }}</li>
|
|
</ul>
|
|
</div>
|
|
@endif
|
|
|
|
<!-- Errors -->
|
|
@if ($errors->any())
|
|
<div class="alert alert-danger alert-dismissible">
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
<h5><i class="icon fas fa-ban"></i> Whoops!</h5>
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{!! $error !!}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif |