Updated error alert component
This commit is contained in:
parent
d4052259cd
commit
6b4f4e8437
|
@ -1,9 +1,5 @@
|
||||||
@if ($errors->any())
|
@if ($message = Session::get('error'))
|
||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger" role="alert">
|
||||||
<ul>
|
<p class="my-1">{{ $message }}</p>
|
||||||
@foreach ($errors->all() as $error)
|
</div>
|
||||||
<li>{{ $error }}</li>
|
|
||||||
@endforeach
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user