title: multiple deleting with checkbox cakephp
body: <p>I have a list of post and i want to delete them using multiple checkboxes.
  I followed this link <a href="https://stackoverflow.com/questions/13888968/multiple-check-boxes-in-cake-php">Multiple Check boxes in cake php</a> 
  but i get this error(i use cakephp 2.4):</p>
  
  <ol>
  <li><p>The view for PostsController::deleteSelect() was not found.</p></li>
  <li><p>Confirm you have created the file: C:\xampp\htdocs\cakephp2\app\View\Themed\Cakestrap\Posts\delete_select.ctp</p></li>
  </ol>
  
  <p>I want to access this data from index.ctp not from delete_select.ctp. My question is how i access this data "data['Post']['box'][]"?</p>
  
  <p>My code is: </p>
  
  <p><strong>index.ctp</strong> </p>
  
  <pre><code>&lt;?php foreach ($posts as $post): ?&gt;
  &lt;tr&gt;
      &lt;td&gt;&lt;?php echo $post['Post']['id']; ?&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;?php echo $this-&gt;Html-&gt;link($post['Post']['title'], array('action' =&gt; 'view', $post['Post']['id'])); ?&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;?php echo $post['Post']['created']; ?&gt;
      &lt;/td&gt;
  
      &lt;td&gt;
  
      &lt;?php echo $this-&gt;Form-&gt;checkbox('post', 
                                    array(
                                      'value' =&gt; $post['Post']['id'],
                                      'name' =&gt; "data['Post']['box'][]",
                                     ));?&gt;&lt;/td&gt;
  
      &lt;td&gt;
  
          &lt;?php echo $this-&gt;Form-&gt;postLink(
              'Delete',
              array('action' =&gt; 'delete', $post['Post']['id']),
              array('confirm' =&gt; 'Are you sure?'));
          ?&gt;
          &lt;?php echo $this-&gt;Html-&gt;link('Edit', array('action' =&gt; 'edit', $post['Post']['id'])); ?&gt;
  
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;?php endforeach; ?&gt;
  &lt;p&gt;&lt;?php echo $this-&gt;Html-&gt;link('deleteSelect', array('action' =&gt; 'deleteSelect')); ?&gt;&lt;/p&gt;
  </code></pre>
  
  <p><strong>deleteSelect function</strong></p>
  
  <pre><code>    public function deleteSelect(){
  if(!empty($this-&gt;data)) {
      foreach($this-&gt;data['Post']['box'] as $key =&gt; $value){
  
              $this-&gt;Post-&gt;delete($value);
      }
      $this-&gt;redirect(array('action' =&gt; 'index'));
  }
  
  }
  </code></pre>