title: CakePhp 3.5 validation error mesages not showing on fields
body: <p>so i started playing with a cakePhp app, trying to make it work, but i can't make the form helper output the validation error messages on the field with the error.I am using the <a href="https://github.com/FriendsOfCake/bootstrap-ui" rel="nofollow noreferrer">FriendsOfCake/bootstrap-ui</a> plugin to make the form helper output bootstrap forms.
  Here is my model:</p>
  
  <pre><code> public function validationDefault(Validator $validator)
  {
  
      $validator
          -&gt;integer('id')
          -&gt;allowEmpty('id', 'create');
  
      $validator
          -&gt;notEmpty('name', 'Name should not be empty')
          -&gt;scalar('name')
          -&gt;requirePresence('name', 'create');
      return $validator; 
  </code></pre>
  
  <p>My controller method:</p>
  
  <pre><code> $user = $this-&gt;Users-&gt;newEntity();
   if ($this-&gt;request-&gt;is('post')) {
       $user = $this-&gt;Users-&gt;patchEntity($user, $this-&gt;request-&gt;getData());
       if ($this-&gt;Users-&gt;save($user)) {
           $this-&gt;Flash-&gt;success(__('V-ati inregistrat cu success'));
              return $this-&gt;redirect($this-&gt;referer());
          }
       $this-&gt;Flash-&gt;error(__('The user could not be saved. Please, try again.'));
      }
  
  
   $this-&gt;viewBuilder()-&gt;setLayout('auth');
   $this-&gt;viewBuilder()-&gt;setTemplate('register');
  
   $this-&gt;set(compact('user'));
   $this-&gt;set('_serialize', ['user']);
   }
  </code></pre>
  
  <p>and my form:</p>
  
  <pre><code>&lt;div class="container"&gt;
  &lt;div class="row"&gt;
      &lt;div class="col-md-4 col-md-offset-4"&gt;
  
          &lt;?=
              $this-&gt;Form-&gt;create('users',['url'=&gt;['controller'=&gt;'Users','action'=&gt;'store']]),
              $this-&gt;Form-&gt;control('name'),
              $this-&gt;Form-&gt;control('email'),
              $this-&gt;Form-&gt;control('password'),
              $this-&gt;Form-&gt;submit('Trimite'),
  
              $this-&gt;Form-&gt;end()
  
          ?&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>