BiFace_Server_Lite/vendor/yii2mod/yii2-rbac/views/item/update.php
2020-03-27 10:13:51 +07:00

21 lines
758 B
PHP

<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model \yii2mod\rbac\models\AuthItemModel */
$context = $this->context;
$labels = $this->context->getLabels();
$this->title = Yii::t('yii2mod.rbac', 'Update ' . $labels['Item'] . ' : {0}', $model->name);
$this->params['breadcrumbs'][] = ['label' => Yii::t('yii2mod.rbac', $labels['Items']), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->name]];
$this->params['breadcrumbs'][] = Yii::t('yii2mod.rbac', 'Update');
$this->render('/layouts/_sidebar');
?>
<div class="auth-item-update">
<h1><?php echo Html::encode($this->title); ?></h1>
<?php echo $this->render('_form', [
'model' => $model,
]); ?>
</div>