Blame view

frontend/views/option/_search.php 906 Bytes
b0f143c3   Yarik   first commit
1
2
3
4
5
6
  <?php
  
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
  
  /* @var $this yii\web\View */
cdb04594   Yarik   test
7
  /* @var $model common\models\OptionSearch */
b0f143c3   Yarik   first commit
8
9
10
11
12
13
14
15
16
17
  /* @var $form yii\widgets\ActiveForm */
  ?>
  
  <div class="option-search">
  
      <?php $form = ActiveForm::begin([
          'action' => ['index'],
          'method' => 'get',
      ]); ?>
  
b0f143c3   Yarik   first commit
18
19
      <?= $form->field($model, 'model') ?>
  
cdb04594   Yarik   test
20
21
      <?= $form->field($model, 'option_id') ?>
  
b0f143c3   Yarik   first commit
22
23
24
25
26
27
      <?= $form->field($model, 'model_id') ?>
  
      <?= $form->field($model, 'name') ?>
  
      <?= $form->field($model, 'template') ?>
  
cdb04594   Yarik   test
28
29
30
      <?php // echo $form->field($model, 'option_pid') ?>
  
      <?php // echo $form->field($model, 'date_add') ?>
b0f143c3   Yarik   first commit
31
32
33
34
35
36
37
38
39
  
      <div class="form-group">
          <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
          <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>
      </div>
  
      <?php ActiveForm::end(); ?>
  
  </div>