init
This commit is contained in:
19
vendor/yii2mod/yii2-rbac/views/item/create.php
vendored
Normal file
19
vendor/yii2mod/yii2-rbac/views/item/create.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model \yii2mod\rbac\models\AuthItemModel */
|
||||
|
||||
$labels = $this->context->getLabels();
|
||||
$this->title = Yii::t('yii2mod.rbac', 'Create ' . $labels['Item']);
|
||||
$this->params['breadcrumbs'][] = ['label' => Yii::t('yii2mod.rbac', $labels['Items']), 'url' => ['index']];
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
$this->render('/layouts/_sidebar');
|
||||
?>
|
||||
<div class="auth-item-create">
|
||||
<h1><?php echo Html::encode($this->title); ?></h1>
|
||||
<?php echo $this->render('_form', [
|
||||
'model' => $model,
|
||||
]); ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user