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}";
}
?>
= $form->field($model, $indexUploadFile)
->fileInput(
['accept' => MainPageInstructionVideo::ACCEPT_FILE_EXTENSIONS]
); ?>
= $form->field($model, $indexWidth)
->textInput(['type' => 'number']); ?>
= $form->field($model, $indexHeight)
->textInput(['type' => 'number']); ?>
= $form->field($model, $indexLoop)
->checkbox(); ?>
= $form->field($model, $indexMuted)
->checkbox(); ?>
= $form->field($model, $indexAutoplay)
->checkbox(); ?>
main_page_setting_id) : ?>