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

12 lines
305 B
PHP

<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>
@endforeach
</ul>
</span>
@endif
</span>