public function actionCreate() { $model = new JumperInfo(['scenario' => 'create']); if ($model->load(Yii::$app->request->post()) && $model->save()) { return $this->redirect(['index']); } else { return $this->render('create', ['model' => $model]); } }