1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00
my-idlers/resources/views/components/auth-validation-errors.blade.php
cp6 d13e170f22 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:22:16 +11:00

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