function actualiza()
 {
     $data = $_REQUEST['Template'];
     $id = $_REQUEST['idTemplate'];
     $template = new Template();
     $exito = $template->actualizaTemplate($data, "idtemplate=" . $id);
     if ($exito) {
         $ruta['ruta'] = "/template/listar";
         $this->view->show("ruteador.phtml", $ruta);
     }
 }