status validation laravel

35

'email' => 'required|email|unique:users,email',
//@sujay
 @if ($errors->any())
     @foreach ($errors->all() as $error)
         <div>{{$error}}</div>
     @endforeach
 @endif

Comments

Submit
0 Comments