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())
|
||||
<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
|
||||
|
|
Loading…
Reference in New Issue
Block a user