add account model + crud ( kassza )
This commit is contained in:
23
backend/views/account/update.php
Normal file
23
backend/views/account/update.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\Account */
|
||||
|
||||
$this->title = Yii::t('common/account', 'Update {modelClass}: ', [
|
||||
'modelClass' => Yii::t('common/account', 'Account'),
|
||||
]) . ' ' . $model->name;
|
||||
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/account', 'Accounts'), 'url' => ['index']];
|
||||
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id_account]];
|
||||
$this->params['breadcrumbs'][] = Yii::t('common/account', 'Update');
|
||||
?>
|
||||
<div class="account-update">
|
||||
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
|
||||
<?= $this->render('_form', [
|
||||
'model' => $model,
|
||||
]) ?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user