yii2-netdisk/views/collection-uploaded/_form.php
Chenx221 8ac6dfb700
文件收集功能(1/10)
简单造了点壳子,后续功能实现和完善等回学校再说
2024-02-23 14:37:36 +08:00

30 lines
706 B
PHP

<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** @var yii\web\View $this */
/** @var app\models\CollectionUploaded $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="collection-uploaded-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'task_id')->textInput() ?>
<?= $form->field($model, 'uploader_ip')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'uploaded_at')->textInput() ?>
<?= $form->field($model, 'subfolder_name')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>