/* @var $model app\models\TeachersSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="teachers-search"> <?php $form = ActiveForm::begin(['action' => ['index'], 'method' => 'get']); ?> <?php echo $form->field($model, 'name')->textInput(['style' => 'width:200px']); ?> <?php echo $form->field($model, 'level')->dropDownList(ArrayHelper::map(\app\models\TeachersLevel::getAllByEnd(), 'id', 'name'), ['style' => 'width:300px']); ?> <?php // echo $form->field($model, 'lesson') ?> <?php // echo $form->field($model, 'create_time') ?> <?php // echo $form->field($model, 'create_user') ?>