mirror of
https://github.com/janickiy/yii2-nomer
synced 2025-03-09 15:39:59 +00:00
add files to project
This commit is contained in:
commit
5cac498444
3729 changed files with 836998 additions and 0 deletions
24
views/site/new_password.php
Normal file
24
views/site/new_password.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/* @var $this \yii\web\View */
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
/* @var $model \app\models\newPasswordForm */
|
||||
|
||||
$this->title = \Yii::$app->name.' - установка нового пароля пароля';
|
||||
?>
|
||||
<div class="registration">
|
||||
<div class="cont clfix">
|
||||
<h2>Установка нового пароля</h2>
|
||||
|
||||
<?php if($error = \Yii::$app->session->getFlash("error")): ?>
|
||||
<div class="error"><?=$error;?></div>
|
||||
<?php endif ;?>
|
||||
|
||||
<?php $form = ActiveForm::begin(); ?>
|
||||
<?= $form->field($model, "password", ["options" => ["class" => "fLine"], "template" => "{input}"])->passwordInput(["class" => "inp", "placeholder" => "Введите новый пароль"]); ?>
|
||||
<?= $form->field($model, "repassword", ["options" => ["class" => "fLine"], "template" => "{input}"])->passwordInput(["class" => "inp", "placeholder" => "Подтвердите пароль"]); ?>
|
||||
<div class="fLine"><input class="signinBtn inpBtn" value="Установить пароль" type="submit"></div>
|
||||
<?php ActiveForm::end(); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue