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