2024-02-23 14:37:36 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use yii\helpers\Html;
|
2024-02-25 10:31:07 +08:00
|
|
|
use yii\widgets\ActiveForm;
|
2024-02-23 14:37:36 +08:00
|
|
|
|
|
|
|
/** @var yii\web\View $this */
|
|
|
|
/** @var app\models\CollectionTasks $model */
|
2024-02-25 10:31:07 +08:00
|
|
|
/** @var yii\widgets\ActiveForm $form */
|
2024-02-23 14:37:36 +08:00
|
|
|
?>
|
|
|
|
|
2024-02-25 10:31:07 +08:00
|
|
|
<div class="collection-tasks-form">
|
|
|
|
|
|
|
|
<?php $form = ActiveForm::begin([
|
|
|
|
'action' => ['collection/create'], // 指定表单提交的URL
|
|
|
|
]); ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'folder_path')->textInput(['maxlength' => true, 'readonly' => true]) ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'secret')->textInput(['maxlength' => true]) ?>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<?= Html::submitButton('创建', ['class' => 'btn btn-success']) ?>
|
|
|
|
</div>
|
2024-02-23 14:37:36 +08:00
|
|
|
|
2024-02-25 10:31:07 +08:00
|
|
|
<?php ActiveForm::end(); ?>
|
2024-02-23 14:37:36 +08:00
|
|
|
|
|
|
|
</div>
|