1@if($errors->any())
2 {!! implode('', $errors->all('<span class="text text-danger">:message</span>')) !!}
3@endif
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
1
2@if ($errors->any())
3 <div class="alert alert-danger">
4 <ul>
5 @foreach ($errors->all() as $error)
6 <li>{{ $error }}</li>
7 @endforeach
8 </ul>
9 </div>
10@endif
11