Updated auth validation component to be an alert

Updated auth validation component to be an alert
This commit is contained in:
cp6 2022-02-20 22:18:02 +11:00
parent 9f53afb409
commit 2c44e3b3ad

View File

@ -2,14 +2,13 @@
@if ($errors->any()) @if ($errors->any())
<div {{ $attributes }}> <div {{ $attributes }}>
<div class="font-medium text-red-600"> <div class="alert alert-danger">
{{ __('Whoops! Something went wrong.') }} {{ __('Whoops! Something went wrong.') }}
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div> </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> </div>
@endif @endif