1@if($errors->any())
2 {!! implode('', $errors->all('<div>:message</div>')) !!}
3@endif
4
1@if(count($errors) > 0)
2<div class="p-1">
3 @foreach($errors->all() as $error)
4 <div class="alert alert-warning alert-danger fade show" role="alert">{{$error}} <button type="button" class="close"
5 data-dismiss="alert" aria-label="Close">
6 <span aria-hidden="true">×</span>
7 </button></div>
8 @endforeach
9</div>
10@endif