Blame view

views/blog-category/_search.php 881 Bytes
593851ec   Alexey Boroda   First commit
1
  <?php
0901f775   Yarik   Clean up
2
3
4
5
6
7
8
      
      use yii\helpers\Html;
      use yii\widgets\ActiveForm;
      
      /* @var $this yii\web\View */
      /* @var $model \artbox\weblog\models\CategorySearch */
      /* @var $form yii\widgets\ActiveForm */
593851ec   Alexey Boroda   First commit
9
10
11
  ?>
  
  <div class="blog-category-search">
0901f775   Yarik   Clean up
12
13
14
15
16
17
18
19
      
      <?php $form = ActiveForm::begin(
          [
              'action' => [ 'index' ],
              'method' => 'get',
          ]
      ); ?>
      
593851ec   Alexey Boroda   First commit
20
      <?= $form->field($model, 'id') ?>
0901f775   Yarik   Clean up
21
      
593851ec   Alexey Boroda   First commit
22
      <?= $form->field($model, 'sort') ?>
0901f775   Yarik   Clean up
23
      
593851ec   Alexey Boroda   First commit
24
      <?= $form->field($model, 'image') ?>
0901f775   Yarik   Clean up
25
      
593851ec   Alexey Boroda   First commit
26
      <?= $form->field($model, 'parent_id') ?>
0901f775   Yarik   Clean up
27
28
29
30
31
32
33
34
35
      
      <?= $form->field($model, 'status')
               ->checkbox() ?>
    
    <div class="form-group">
        <?= Html::submitButton('Search', [ 'class' => 'btn btn-primary' ]) ?>
        <?= Html::resetButton('Reset', [ 'class' => 'btn btn-default' ]) ?>
    </div>
      
593851ec   Alexey Boroda   First commit
36
37
38
      <?php ActiveForm::end(); ?>
  
  </div>