update.php 530 B

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