public function init()
 {
     if (!$this->action && Yii::app()->params->isPhoneGap) {
         $this->action = AuxLib::getRequestUrl();
     }
     return parent::init();
 }
 public function init()
 {
     $this->action = Yii::app()->createUrl('/actions/actions/create');
     $this->htmlOptions = X2Html::mergeHtmlOptions($this->htmlOptions, array('class' => 'action-subtype-form'));
     return parent::init();
 }