frontend user card safe

This commit is contained in:
glambertessa
2020-09-09 16:37:35 +03:00
parent 0d868a622b
commit 0a80a3fe26
3 changed files with 34 additions and 39 deletions

View File

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