['enctype'=>'multipart/form-data']]); ?> field($model, 'title')->textInput(['maxlength' => true]) ?> field($model, 'template')->widget(FileInput::classname(), [ 'options' => ['accept' => 'text/*'], 'pluginOptions' => [ 'allowedFileExtensions'=>['doc','docx','txt'],'showUpload' => true ], ]); ?>
'btn btn-success']) ?>