Files
yii2-usuario/src/User/resources/views/rule/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

33 lines
753 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\Role $model
* @var $this yii\web\View
* @var $unassignedItems string[]
*/
$this->title = Yii::t('usuario', 'Update rule');
$this->params['breadcrumbs'][] = ['label' => Yii::t('usuario', 'Rules'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'/rule/_form',
[
'model' => $model,
]
) ?>
<?php $this->endContent() ?>