I've included this Github script to make a validation form with Bootstrap Modal everything is set up correctly but when I included this script the form don't submit because there are some errors which is good but it doesn't show them in the view
Controller
$this->validate($request, [
'nom' => 'required|unique:filieres'
]);
View
@if($errors->get('nom'))
@foreach($errors->get('nom') as $error)
<li class="has-error">{{$error}}</li>
@endforeach
@endif