@props(['errors'])

@if ($errors->any())
    <div {{ $attributes }}>

{{--        <div class="font-medium text-red-600 alert alert-danger">--}}
{{--            {{ __('Whoops! Something went wrongff.') }}--}}
{{--        </div>--}}

        <ul class="mt-3 list-disc list-inside text-sm text-red-600 alert alert-danger">
            @foreach ($errors->all() as $error)
                <li class="list-unstyled">{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
