show backend validation errors

it’s as simple as this: Just post the following code to a view.

@if ($errors->any())
<div class=”alert alert-danger”>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif

CategoriesUncategorized

Leave a Reply

Your email address will not be published.