fix admin views
This commit is contained in:
@ -1,31 +1,24 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Dektrium project
|
||||
*
|
||||
* (c) Dektrium project <http://github.com/dektrium>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE.md
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use dektrium\rbac\widgets\Assignments;
|
||||
|
||||
/**
|
||||
* @var yii\web\View $this
|
||||
* @var dektrium\user\models\User $user
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Model\User $user
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<?php $this->beginContent('@dektrium/user/views/admin/update.php', ['user' => $user]) ?>
|
||||
<?php $this->beginContent('@Da/User/resources/views/admin/update.php', ['user' => $user]) ?>
|
||||
|
||||
<?= yii\bootstrap\Alert::widget([
|
||||
'options' => [
|
||||
'class' => 'alert-info alert-dismissible',
|
||||
],
|
||||
'body' => Yii::t('user', 'You can assign multiple roles or permissions to user by using the form below'),
|
||||
]) ?>
|
||||
<?= yii\bootstrap\Alert::widget(
|
||||
[
|
||||
'options' => [
|
||||
'class' => 'alert-info alert-dismissible',
|
||||
],
|
||||
'body' => Yii::t('user', 'You can assign multiple roles or permissions to user by using the form below'),
|
||||
]
|
||||
) ?>
|
||||
|
||||
<?= Assignments::widget(['userId' => $user->id]) ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user