Blame view

frontend/views/bus-stop/create.php 931 Bytes
31f7c78a   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
  <?php
  
      use yii\helpers\Html;
  
      /**
       * @var yii\web\View          $this
       * @var array                 $roads
       * @var array                 $regions
       * @var array                 $settlements
       * @var array                 $surface_types
       * @var array                 $state_commons
       * @var common\models\BusStop $model
       */
  
      $this->title = 'Create Bus Stop';
      $this->params[ 'breadcrumbs' ][] = [
          'label' => 'Bus Stops',
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = $this->title;
  ?>
  <div class="bus-stop-create">
  
      <h1><?= Html::encode($this->title) ?></h1>
  
      <?= $this->render('_form', [
          'model'         => $model,
          'roads'         => $roads,
          'regions'       => $regions,
          'settlements'   => $settlements,
          'surface_types' => $surface_types,
          'state_commons' => $state_commons,
      ]) ?>
  
  </div>