You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
7 years ago
|
<?php
|
||
|
|
||
|
/* @var $this yii\web\View */
|
||
|
/* @var $model \backend\forms\rbac\RbacEditPermissionForm */
|
||
|
|
||
|
use yii\bootstrap\ActiveForm;
|
||
|
use yii\helpers\Html;
|
||
|
|
||
|
$this->title = Yii::t('user', 'Update Permission: {permission}', ['permission' => $model->name]);
|
||
|
$this->params['breadcrumbs'][] = ['label' => Yii::t('user', 'Permissions'), 'url' => ['index']];
|
||
|
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->name]];
|
||
|
$this->params['breadcrumbs'][] = Yii::t('user', 'Editing');
|
||
|
?>
|
||
|
<div class="users-rbac-permission-update">
|
||
|
|
||
|
<?php $form = ActiveForm::begin(); ?>
|
||
|
|
||
|
<div class="box box-default">
|
||
|
<div class="box-body">
|
||
|
<?= $form->field($model, 'name')->textInput(['maxLength' => true]) ?>
|
||
|
<?= $form->field($model, 'description')->textarea() ?>
|
||
|
<?= $form->field($model, 'rule_name')->textInput(['maxLength' => true]) ?>
|
||
|
<?= $form->field($model, 'data')->textarea() ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<?= Html::submitButton(Yii::t('buttons', 'Save'), ['class' => 'btn btn-primary']) ?>
|
||
|
</div>
|
||
|
|
||
|
<?php ActiveForm::end(); ?>
|
||
|
|
||
|
</div>
|