$form = ActiveForm::begin(); ?> <?php echo $form->field($model, 'visible')->radioList(['Скрыт', 'Виден']); ?> <div class="col-md-12"> <?php echo \app\modules\cms\components\yandexMap\MapInput::widget(['model' => $model, 'attribute' => 'cords']); ?> </div> <div class="col-md-6"> <?php echo $form->field($model, 'userId')->dropDownList(\app\modules\cms\models\User::getDropDown(), ['rows' => 6]); ?> </div> <div class="col-md-6"> <?php echo $form->field($model, 'parentId')->dropDownList($category->dropDown(), ['rows' => 6]); ?> </div> <div class="row"> <div class="col-md-6"> <?php echo $form->field($model, 'title')->textInput(['maxlength' => 255]); ?>