Blame view

frontend/views/option/update.php 625 Bytes
b0f143c3   Yarik   first commit
1
2
3
4
5
  <?php
  
  use yii\helpers\Html;
  
  /* @var $this yii\web\View */
cdb04594   Yarik   test
6
  /* @var $model common\models\Option */
b0f143c3   Yarik   first commit
7
8
9
  
  $this->title = Yii::t('app', 'Update {modelClass}: ', [
      'modelClass' => 'Option',
cdb04594   Yarik   test
10
  ]) . ' ' . $model->name;
b0f143c3   Yarik   first commit
11
  $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Options'), 'url' => ['index']];
cdb04594   Yarik   test
12
  $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->option_id]];
b0f143c3   Yarik   first commit
13
14
15
  $this->params['breadcrumbs'][] = Yii::t('app', 'Update');
  ?>
  <div class="option-update">
cdb04594   Yarik   test
16
  
b0f143c3   Yarik   first commit
17
      <h1><?= Html::encode($this->title) ?></h1>
cdb04594   Yarik   test
18
19
20
21
  
      <?= $this->render('_form', [
          'model' => $model,
      ]) ?>
b0f143c3   Yarik   first commit
22
23
  
  </div>