function graba()
 {
     $data = $_REQUEST['Template'];
     $data['Estado'] = 1;
     $template = new Template();
     $exito = $template->grabaTemplate($data);
     if ($exito) {
         $ruta['ruta'] = "/template/listar";
         $this->view->show("ruteador.phtml", $ruta);
     }
 }