Files
yii2-usuario/src/User/resources/views/permission/update.php
Alec Pritchard a604abb018 Changed all calls to View::render() in views to use absolute path within module
Maximises compatibility with view overrides, preventing "View not Found – yii\base\ViewNotFoundException" errors when a view is overridden that contains a call to `View::render()` and a relative path was specified
2018-05-01 12:17:43 +01:00

35 lines
731 B
PHP

<?php
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* (c) 2amigOS! <http://2amigos.us/>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
/**
* @var \Da\User\Model\Permission
* @var $this yii\web\View
* @var $unassignedItems string[]
*/
$this->title = Yii::t('usuario', 'Update permission');
$this->params['breadcrumbs'][] = $this->title;
?>
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'/permission/_form',
[
'model' => $model,
'unassignedItems' => $unassignedItems,
]
) ?>
<?php $this->endContent() ?>