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

12 lines
303 B
PHP
Raw 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>
@endforeach
</ul>
</span>
@endif
</span>