Blame view

backend/modules/faq/views/group/_form.php 421 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  use thread\app\bootstrap\ActiveForm;
  
  /**
   * @var $model \backend\modules\faq\models\Group
   * @var $modelLang \backend\modules\faq\models\GroupLang
   */
  $form = ActiveForm::begin();
  //
  echo
      $form->submit($model, $this)
      . $form->text_line_lang($modelLang, 'title')
      . $form->text_line($model, 'position')
      . $form->switcher($model, 'published')
      . $form->submit($model, $this);
  //
  ActiveForm::end();