1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-09-29 19:57:08 +02:00
my-idlers/resources/views/components/auth-validation-errors.blade.php

16 lines
397 B
PHP
Raw Normal View History

@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