mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-17 20:48:29 +01:00
16 lines
397 B
PHP
16 lines
397 B
PHP
|
@props(['errors'])
|
||
|
|
||
|
@if ($errors->any())
|
||
|
<div {{ $attributes }}>
|
||
|
<div class="font-medium text-red-600">
|
||
|
{{ __('Whoops! Something went wrong.') }}
|
||
|
</div>
|
||
|
|
||
|
<ul class="mt-3 list-disc list-inside text-sm text-red-600">
|
||
|
@foreach ($errors->all() as $error)
|
||
|
<li>{{ $error }}</li>
|
||
|
@endforeach
|
||
|
</ul>
|
||
|
</div>
|
||
|
@endif
|