public function actionIndex()
 {
     $model = new SystemSettingsForm();
     if (isset($_POST['SystemSettingsForm'])) {
         $model->attributes = $_POST['SystemSettingsForm'];
         if ($model->validate()) {
             $model->save();
             $this->setFlashMessage(Yii::t('CoreModule.admin', 'Изменения успешно сохранены'));
             $this->refresh();
         }
     }
     $form = new STabbedForm('application.modules.core.views.admin.systemSettings.settingsForm', $model);
     $this->render('index', array('form' => $form));
 }
        <?php 
echo $form->labelEx($model, 'page_size');
?>
        <?php 
echo $form->textField($model, 'page_size');
?>
        <?php 
echo $form->error($model, 'page_size');
?>
</div>
<div class="row">
        <?php 
echo $form->labelEx($model, 'keep_file_name_upload');
?>
        <?php 
echo $form->dropDownList($model, 'keep_file_name_upload', SystemSettingsForm::filenameUpload());
?>
        <?php 
echo $form->error($model, 'keep_file_name_upload');
?>
</div>
    
 
<div class="row buttons">
        <?php 
echo CHtml::submitButton(t('cms', 'Save'), array('class' => 'bebutton'));
?>
</div>
<?php 
$this->endWidget();
?>