echo Html::dropDownList('web_id', $web_id, WebRecord::getWebOptions(), ['onchange' => 'this.form.submit()', 'class' => 'form-control']); ?> </div> <?php echo Html::endForm(); ?> <?php echo Html::beginForm(['menu-item/index']); ?> <div class="form-group col-md-6"> <?php echo Html::label(Yii::t('back', 'Menu'), 'menu_id'); ?> <?php echo Html::dropDownList('menu_id', $menu_id, MenuRecord::getMenuOptions(), ['onchange' => 'this.form.submit()', 'class' => 'form-control']); ?> </div> <?php echo Html::endForm(); ?> </div> <?php if ($model->parent_id) { ?> <div class="panel panel-default parent-menu-tree"> <div class="panel-heading"><?php echo Yii::t('back', 'Parent levels'); ?> </div>