1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

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