2022-02-18 05:48:32 +01:00
|
|
|
@props(['errors'])
|
|
|
|
|
|
|
|
@if ($errors->any())
|
|
|
|
<div {{ $attributes }}>
|
2022-02-20 12:18:02 +01:00
|
|
|
<div class="alert alert-danger">
|
2022-02-18 05:48:32 +01:00
|
|
|
{{ __('Whoops! Something went wrong.') }}
|
2022-02-20 12:18:02 +01:00
|
|
|
<ul>
|
|
|
|
@foreach ($errors->all() as $error)
|
|
|
|
<li>{{ $error }}</li>
|
|
|
|
@endforeach
|
|
|
|
</ul>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|