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.') }}
</div> <ul>
<ul class="mt-3 list-disc list-inside text-sm text-red-600">
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<li>{{ $error }}</li> <li>{{ $error }}</li>
@endforeach @endforeach
</ul> </ul>
</div> </div>
</div>
@endif @endif