beginForm("/some_action"); $form->field(class: \itguild\forms\inputs\File::class, name: "login", params: [ 'class' => "form-control", 'placeholder' => 'Логин', ]) ->setLabel("Логин") ->render(); $form->endForm();