Updated auth validation component to be an alert
Updated auth validation component to be an alert
This commit is contained in:
parent
9f53afb409
commit
2c44e3b3ad
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user