use kartik\alert\Alert; /* @var $this yii\web\View */ /* @var $model app\modules\portalprofessor\models\Acdevaluation */ $this->title = 'Cria Avaliação'; $this->params['breadcrumbs'][] = ['label' => 'Avaliação', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="acdevaluation-create"> <h1><?php echo Html::encode($this->title); ?> </h1> <?php Alert::begin(['type' => Alert::TYPE_INFO, 'id' => 'msg', 'titleOptions' => ['icon' => 'info-sign'], 'body' => 'Os Dados Salvos!']); Alert::end(); ?> <?php echo $this->render('_form', ['model' => $model, 'groupid' => $groupid]); ?> </div> <?php $js = <<<JS