change password

This commit is contained in:
akosse
2020-01-22 12:18:03 +03:00
parent cb10af1bce
commit 8322d58066
8 changed files with 78 additions and 12 deletions

View File

@ -0,0 +1,21 @@
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>
<?php $form = ActiveForm::begin([
'id' => 'password-form',
'enableClientValidation' => true,
'enableAjaxValidation' => false,
'method' => 'post',
]); ?>
<h4>Введите новый пароль</h4>
<?= Html::input('text', 'password', '', ['class' => 'form-control custom-input']) ?>
<br>
<?= Html::submitButton('Сохранить', ['class' => 'btn btn-success']) ?>
<?php ActiveForm::end(); ?>