guild/backend/modules/card/views/user-card/password.php
2020-01-23 13:16:54 +03:00

23 lines
599 B
PHP

<?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 echo '&nbsp' . Html::button('Сгенерировать', ['class' => 'btn btn-success generate']); ?>
<?php ActiveForm::end(); ?>