update.php 517 B

12345678910111213141516171819
  1. <?php
  2. /*
  3. * @var yii\web\View $this
  4. * @var rbac\models\AuthItem $model
  5. */
  6. $this->title = Yii::t('rbac', 'Update Rule').': '.$model->name;
  7. $this->params['breadcrumbs'][] = ['label' => Yii::t('rbac', 'Rules'), 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->name]];
  9. $this->params['breadcrumbs'][] = Yii::t('rbac', 'Update');
  10. ?>
  11. <div class="auth-item-update">
  12. <?php
  13. echo $this->render('_form', [
  14. 'model' => $model,
  15. ]);
  16. ?>
  17. </div>