title: Laravel 5.2 Validation Error not appearing in blade
body: <p>I want to show validation Error in View page while user giving wrong input. It's Ok that it's not saving anything in database while a user giving wrong input. But there is no error message in user view page. If anyone find the error, please help me out.</p>
  
  <p>Here is the controller:</p>
  
  <pre><code>public function saveUser(Request $request){
          $this-&gt;validate($request,[
              'name' =&gt; 'required|max:120',
              'email' =&gt; 'required|email|unique:users',
              'phone' =&gt; 'required|min:11|numeric',
              'course_id'=&gt;'required'
              ]);
  
          $user = new User();
          $user-&gt;name=  $request-&gt;Input(['name']);
          $user-&gt;email=  $request-&gt;Input(['email']);
          $user-&gt;phone=  $request-&gt;Input(['phone']);
          $user-&gt;date = date('Y-m-d');
          $user-&gt;completed_status = '0';
          $user-&gt;course_id=$request-&gt;Input(['course_id']);
          $user-&gt;save();
         return redirect('success');         
      }
  </code></pre>
  
  <p>Here is the route:</p>
  
  <pre><code>Route::group(['middleware' =&gt; 'web'], function () {
  
      Route::get('/', function () {
          return view('index');
      })-&gt;name('main');
  
        Route::post('/saveUser',[
          'uses' =&gt; 'AppController@saveUser',
          'as'=&gt;'saveUser',
          ]);
      });
  </code></pre>
  
  <p>Here is the blade view page:</p>
  
  <pre><code>@extends('layouts.master')
  @section('title')
  Create User
  @endsection
  @section('content')
  @include('partials.message-block')
          &lt;div class="container" &gt;
  
              &lt;h3&gt; Student Register &lt;/h3&gt;
  
          {!! Form::open(array('route' =&gt; 'saveUser','class'=&gt;'form-horizontal','method'=&gt;'POST'))  !!}
        {!! Form::token(); !!}
        {!!   csrf_field() ; !!} 
  
          &lt;div class="form-group"&gt;
            &lt;label&gt;Name&lt;/label&gt;
            &lt;input type="text" name="name" class="form-control" required placeholder="Name"&gt;
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
            &lt;label&gt;Email&lt;/label&gt;
            &lt;input type="email" name="email" class="form-control" required placeholder="email"&gt;
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
            &lt;label&gt;Phone Number&lt;/label&gt;          
            &lt;input type="text" name="phone" class="form-control" required placeholder="phone"&gt;
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
              &lt;label for=""&gt;Class&lt;/label&gt;
              &lt;select class="form-control input-sm" name="course_id" &gt;
              @foreach($input as $row)
              &lt;option value="{{$row-&gt;id}}"&gt;{{$row-&gt;name}}&lt;/option&gt;
              @endforeach
              &lt;/select&gt;
          &lt;/div&gt;  
  
          &lt;button type="submit" class="btn btn-default"&gt;Submit&lt;/button&gt;
      {!! Form::close() !!}
          &lt;/div&gt;
  
  @endsection
  </code></pre>
  
  <p>And here is the error-message block:</p>
  
  <pre><code>@if(count($errors) &gt; 0)
      &lt;div class="row"&gt;
          &lt;div class="col-md-4 col-md-offset-4 error"&gt;
              &lt;ul&gt;
                  @foreach($errors-&gt;all() as $error)
                      &lt;li&gt;{{$error}}&lt;/li&gt;
                  @endforeach
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  @endif
  @if(Session::has('message'))
  &lt;div class="row"&gt;
      &lt;div class="col-md-4 col-md--offset-4 success"&gt;
          {{Session::get('message')}}
      &lt;/div&gt;
  &lt;/div&gt;
  
  @endif
  </code></pre>