clrghouz/resources/views/widgets/error.blade.php

12 lines
305 B
PHP
Raw Permalink Normal View History

2023-09-08 14:07:46 +00:00
<span class="col-6 mt-auto mx-auto text-center align-bottom">
@if($errors->count())
<span class="btn btn-sm btn-danger" role="alert">
There were errors with the submission.
<ul>
@foreach($errors->all() as $error)
<li>{!! $error !!}</li>
2023-09-08 14:07:46 +00:00
@endforeach
</ul>
</span>
@endif
</span>