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

36 lines
790 B
PHP

<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** @var yii\web\View $this */
/** @var app\models\CollectionSearch $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="collection-tasks-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'id') ?>
<?= $form->field($model, 'user_id') ?>
<?= $form->field($model, 'folder_path') ?>
<?= $form->field($model, 'created_at') ?>
<?= $form->field($model, 'secret') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-outline-secondary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>