implement module viewPath in all views instead of static file reference
This commit is contained in:
@ -14,10 +14,11 @@ use yii\helpers\Html;
|
||||
|
||||
/** @var yii\web\View $this */
|
||||
/** @var Da\User\Model\User $user */
|
||||
/** @var \Da\User\Module $module */
|
||||
|
||||
?>
|
||||
|
||||
<?php $this->beginContent('@Da/User/resources/views/admin/update.php', ['user' => $user]) ?>
|
||||
<?php $this->beginContent($module->viewPath. '/admin/update.php', ['user' => $user]) ?>
|
||||
|
||||
<?php $form = ActiveForm::begin(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user