Blame view

backend/views/termin/_form.php 760 Bytes
b507d689   andryeyev   Итерация 1 (Терми...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  <?php
  
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
  
  /* @var $this yii\web\View */
  /* @var $model common\models\Termin */
  /* @var $form yii\widgets\ActiveForm */
  ?>
  
  <div class="termin-form">
  
      <?php $form = ActiveForm::begin(); ?>
  
      <?= $form->field($model, 'termin_pid')->textInput() ?>
  
      <?= $form->field($model, 'lfr')->textInput() ?>
  
      <?= $form->field($model, 'rgt')->textInput() ?>
  
      <?= $form->field($model, 'termin_type_id')->textInput() ?>
  
      <?= $form->field($model, 'page_id')->textInput() ?>
  
      <div class="form-group">
          <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
      </div>
  
      <?php ActiveForm::end(); ?>
  
  </div>