['enctype'=>'multipart/form-data']]); ?> field($model, 'title')->textInput(['maxlength' => true]) ?> field($model, 'document_type')->dropDownList( TemplateDocumentTypeHelper::getDocumentTypeList(), [ 'prompt' => 'Выберите' ] ) ?> field($model, 'template')->widget(FileInput::classname(), [ 'options' => ['accept' => 'text/*'], 'pluginOptions' => [ 'allowedFileExtensions'=>['docx'],'showUpload' => true ], ]); ?>
'btn btn-success']) ?>