This commit is contained in:
2024-11-20 16:40:08 +03:00
commit c24d319159
13 changed files with 918 additions and 0 deletions

36
views/default/_form.php Normal file
View File

@@ -0,0 +1,36 @@
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\MailType */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="mole-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'project'); ?>
<?= $form->field($model, 'name'); ?>
<?= $form->field($model, 'dateAdd'); ?>
<?= $form->field($model, 'dateStart'); ?>
<?= $form->field($model, 'dateEnd'); ?>
<?= $form->field($model, 'module'); ?>
<?= $form->field($model, 'controller'); ?>
<?= $form->field($model, 'params'); ?>
<?= $form->field($model, 'period'); ?>
<div class="form-group">
<?= Html::submitButton(Yii::t('mole', 'Save'), ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>