} } ?> <?php if ($model->isImage() && $mode == 'modal') { ?> <div class="form-group<?php echo $strictThumb ? ' hidden' : ''; ?> "> <?php echo Html::label(Yii::t('yee/media', 'Select image size'), 'image', ['class' => 'control-label']); ?> <?php echo Html::dropDownList('url', $model->getThumbUrl($strictThumb), $model->getImagesList($this->context->module), ['class' => 'form-control input-sm']); ?> <div class="help-block"></div> </div> <?php } else { ?> <?php echo Html::hiddenInput('url', $model->url); } ?> <?php echo Html::hiddenInput('id', $model->id); ?>
?> <?php echo Alert::widget(['options' => ['class' => 'alert-info eav-link-alert'], 'body' => Yii::t('yee', 'The changes have been saved.')]); ?> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="panel panel-default"> <div class="panel-body"> <div class="pull-left" style="margin-right: 10px;"> <label class="control-label" for="entityModel">Model: </label> <?php echo Html::dropDownList('entityModel', null, $entityModels, ['id' => 'entityModel', 'class' => 'form-control']); ?> </div> <div class="pull-left" style="display: none;"> <label class="control-label pull-left" for="entityCategory"> <?php echo Yii::t('yee', 'Category'); ?> : </label> <div class="eav-categories-wrapper"> </div> </div> </div> </div> </div>