public function actionCreate()
 {
     $model = new Pais();
     if (isset($_POST['Pais'])) {
         $model->setAttributes($_POST['Pais']);
         $model->nombre = strtoupper($model->nombre);
         $model->nacionalidad = strtoupper($model->nacionalidad);
         try {
             if ($model->save()) {
                 $this->setFlash('notice', array('title' => 'Mensaje', 'content' => 'Se grabó correctamente.'));
                 $this->redirect(array('manage'));
             }
         } catch (Exception $e) {
             $model->addError('', $e->getMessage());
         }
     } elseif (isset($_GET['Pais'])) {
         $model->attributes = $_GET['Pais'];
     }
     $this->render('create', array('model' => $model));
 }