<?php use yii\helpers\Html; use yii\bootstrap\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\Skills */ /* @var $form yii\bootstrap\ActiveForm */ ?> <div class="skill-create-form"> <?php $form = ActiveForm::begin(); ?> <?php echo \common\models\Languages::showSelectButtons(); ?> <hr/> <?php echo $form->field($model, 'title')->textInput(['maxlength' => 50, 'class' => 'form-control mlang']); ?> <?php echo $form->field($model, 'description')->textarea(['maxlength' => 1500, 'class' => 'mlang', 'id' => 'ckeditor']); ?> <?php echo $form->field($model, 'type')->dropDownList(\common\models\Skills::$TYPES); ?> <?php echo $form->field($model, 'icon_name')->textInput(); ?> <?php echo $form->field($model, 'mark')->textInput();