main_page_setting_id) { $model->file = ''; if ($linkedFile = $model->linkedFile) { $model->file = $linkedFile->upload_name; } $indexWidth = "[{$model->main_page_setting_id}]{$indexWidth}"; $indexHeight = "[{$model->main_page_setting_id}]{$indexHeight}"; $indexUploadFile = "[{$model->main_page_setting_id}]{$indexUploadFile}"; } ?>
field($model, $indexUploadFile) ->fileInput( ['accept' => MainPageInstructionImage::ACCEPT_FILE_EXTENSIONS] ); ?>
field($model, $indexWidth) ->textInput(['type' => 'number']); ?>
field($model, $indexHeight) ->textInput(['type' => 'number']); ?>
main_page_setting_id) : ?>
<?= $model->file ?>