title: SELECT in cake php
body: <p>In this form I can't see name of select, this dropdown don't work, my code is:</p>
  
  <p>In the controller I have:</p>
  
  <pre><code>public function admin_cambiar_centro() {
        $this-&gt;Session-&gt;write(
            'Auth.User.centro_id', 
            $this-&gt;request-&gt;data('CambioCentro.centro_id')
        );
        $this-&gt;redirect($this-&gt;referer());
  }
  </code></pre>
  
  <p>In the view:</p>
  
  <pre><code>&lt;?= $this-&gt;Form-&gt;create('CambioCentro', array(
      'url' =&gt; array(
          'controller'=&gt; 'Users', 
          'action' =&gt; 'cambiar_centro'
       )
  )) ?&gt;
  &lt;?= $this-&gt;Form-&gt;select('centro_id', 
      Hash::combine(AuthComponent::User('Centro'), '{n}.id', '{n}.nombre'), 
      array(
          'empty' =&gt; false,
          'value' =&gt; AuthComponent::User('centro_id'),
          'style' =&gt; 'margin-top: 7px;',
          'onchange' =&gt; 'this.form.submit()',
   )); ?&gt;
   &lt;?=$this-&gt;Form-&gt;end()?&gt;
  </code></pre>
  
  <p>and this does not deploy I would be very grateful if you could help me</p>