title: Keep modal and showing errors after validation with Laravel 4 + 3 Bootstrap
body: <p>Reading the article: <a href="https://stackoverflow.com/questions/22751734/keep-modal-open-after-validation-redirect"><code>Keep modal open after validation redirect</code></a>
  enable to open the modal box right after validation, however, shows no errors occurred, shows only the form, I believe it is because the action is calling the jquery form again, because I'm using the remote function bootstrap 3 modal.</p>
  
  <p>tips to solve and please show errors in the modal window.</p>
  
  <p>Controller:</p>
  
  <pre><code>if ($validacao-&gt;fails()) :
     $input = Input::all();
     $input['autoOpenModal'] = true;
     return Redirect::back()-&gt;withErrors($validacao)-&gt;withInput($input);
  endif;
  </code></pre>
  
  <p>Modal Form:</p>
  
  <pre><code>&lt;div&gt;
     {{ Form::label( 'inputEmail1', 'Email', array( 'class' =&gt; 'col-lg-2 control-label' ) ) }}
     &lt;div&gt;
        {{ Form::email( 'email', '', array( 'class' =&gt; 'form-control', 'placeholder' =&gt; 'Email' ) ) }}
        {{ $errors-&gt;first('email', '&lt;p class="help-block text-danger"&gt;:message&lt;/p&gt;') }}
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Jquery Action:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
     if ({{ Input::old('autoOpenModal', 'false') }}) {
        $('#remoteModal').modal({show: true, remote: '{{ URL::to('users/inserir') }}'});
     }
  &lt;/script&gt;
  </code></pre>
  
  <p>I think this remote is loading the bootstrap modal like a new call therefore his <code>$errors-&gt;first()</code> is not showing anything.</p>
  
  <p>thanks for the help already</p>