Blame view

frontend/views/cross-section/_search.php 1.48 KB
3d730a7c   Yarik   Yarik
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
  <?php
  
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
  
  /* @var $this yii\web\View */
  /* @var $model common\models\CrossSectionSearch */
  /* @var $form yii\widgets\ActiveForm */
  ?>
  
  <div class="cross-section-search">
  
      <?php $form = ActiveForm::begin([
          'action' => ['index'],
          'method' => 'get',
      ]); ?>
  
      <?= $form->field($model, 'cross_section_id') ?>
  
      <?= $form->field($model, 'region_id') ?>
  
      <?= $form->field($model, 'road_id') ?>
  
      <?= $form->field($model, 'location_left') ?>
  
      <?= $form->field($model, 'location_right') ?>
  
      <?php // echo $form->field($model, 'direction') ?>
  
      <?php // echo $form->field($model, 'surface_type_id') ?>
  
      <?php // echo $form->field($model, 'length_section') ?>
  
      <?php // echo $form->field($model, 'length_surface') ?>
  
      <?php // echo $form->field($model, 'distance_edge') ?>
  
      <?php // echo $form->field($model, 'width') ?>
  
      <?php // echo $form->field($model, 'angle') ?>
  
      <?php // echo $form->field($model, 'tube_availability') ?>
  
      <?php // echo $form->field($model, 'safety_availability') ?>
  
      <?php // echo $form->field($model, 'year_build') ?>
  
      <?php // echo $form->field($model, 'year_repair') ?>
  
      <?php // echo $form->field($model, 'state_common_id') ?>
  
      <div class="form-group">
          <?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
          <?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
      </div>
  
      <?php ActiveForm::end(); ?>
  
  </div>