/**
  * Form to create a new Static Page
  *
  * @return string
  */
 public function actionCreate()
 {
     $staticPlugin = new StaticPlugin();
     if ($staticPlugin->load(Yii::$app->request->post()) and $staticPlugin->validate()) {
         $staticPlugin->save();
         // Redirects to the pages index
         $this->redirect('@web/pages/static');
     }
     return $this->render('create', ['staticPlugin' => $staticPlugin]);
 }