admin theme
This commit is contained in:
@ -16,6 +16,10 @@ $form->field(class: \itguild\forms\inputs\Select::class, name: "parent_id", para
|
||||
->setOptions(\kernel\modules\menu\service\MenuService::createLabelArr())
|
||||
->render();
|
||||
|
||||
if (!empty($model->icon_file)){
|
||||
echo "<div><img src='$model->icon_file' width='200px'></div>";
|
||||
}
|
||||
|
||||
$form->field(class: \itguild\forms\inputs\File::class, name: "icon_file", params: [
|
||||
'class' => "form-control",
|
||||
'value' => $model->icon_file ?? ''
|
||||
|
Reference in New Issue
Block a user