mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-18 08:22:37 +01:00
2c44e3b3ad
Updated auth validation component to be an alert
15 lines
354 B
PHP
15 lines
354 B
PHP
@props(['errors'])
|
|
|
|
@if ($errors->any())
|
|
<div {{ $attributes }}>
|
|
<div class="alert alert-danger">
|
|
{{ __('Whoops! Something went wrong.') }}
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
@endif
|