diaREact/resources/views/components/auth-validation-errors.blade.php

16 lines
397 B
PHP
Raw Normal View History

2022-02-11 17:26:15 +01:00
@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