/**
  * Creates a new model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  */
 public function newTask()
 {
     $model = new sTask();
     // Uncomment the following line if AJAX validation is needed
     // $this->performAjaxValidation($model);
     if (isset($_POST['sTask'])) {
         $model->attributes = $_POST['sTask'];
         if ($model->save()) {
             Yii::app()->user->setFlash('success', 'data has been saved successfully');
             $this->refresh();
         }
     }
     return $model;
 }
<?php

$this->widget('bootstrap.widgets.BootGridView', array('id' => 'stask-grid', 'dataProvider' => sTask::model()->search(), 'itemsCssClass' => 'table table-striped table-bordered', 'template' => '{items}{pager}', 'columns' => array('subject', 'start_date', array('name' => 'status_id', 'value' => 'sParameter::item("cStatusTask",$data->status_id)'), array('class' => 'BootButtonColumn'))));
?>

<hr />

<?php 
//echo $this->renderPartial('_formReminder', array('model'=>$modeltask));
?>