guild/backend/modules/card/views/user-card/update.php

23 lines
632 B
PHP
Raw Normal View History

2018-10-11 11:15:09 +03:00
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\UserCard */
2019-07-04 12:29:42 +03:00
$this->title = $model->fio;
2019-12-09 10:54:39 +03:00
$this->params['breadcrumbs'][] = ['label' => 'Профили', 'url' => ['index']];
2018-10-11 11:15:09 +03:00
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
2019-12-09 10:54:39 +03:00
$this->params['breadcrumbs'][] = 'Редактировать';
2018-10-11 11:15:09 +03:00
?>
<div class="user-card-update">
2020-01-23 13:16:54 +03:00
<?php echo Html::a('Изменить пароль', ['password', 'id' => $model->id], ['class' => 'btn btn-success']);
?>
2018-10-11 11:15:09 +03:00
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>