main_page_setting_id) { $index = "[{$model->main_page_setting_id}]{$index}"; } echo $form->field($model, $index);