update.php 600 B

123456789101112131415161718192021
  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this yii\web\View */
  4. /* @var $model common\models\ShareLevel */
  5. $this->title = Yii::t('common', 'Update {modelClass}: ', [
  6. 'modelClass' => 'Share Level',
  7. ]) . ' ' . $model->title;
  8. $this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Share Levels'), 'url' => ['index']];
  9. $this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
  10. $this->params['breadcrumbs'][] = Yii::t('common', 'Update');
  11. ?>
  12. <div class="share-level-update">
  13. <?= $this->render('_form', [
  14. 'model' => $model,
  15. ]) ?>
  16. </div>