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
29
views/site/remind.php
Normal file
29
views/site/remind.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
/* @var $this \yii\web\View */
|
||||
/* @var $remindForm \app\models\RemindForm */
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\bootstrap\ActiveForm;
|
||||
use yii\helpers\Url;
|
||||
|
||||
$this->title = \Yii::$app->name.' - восстановление пароля';
|
||||
|
||||
?>
|
||||
|
||||
<div class="registration">
|
||||
<div class="cont clfix">
|
||||
<h2>Восстановление пароля</h2>
|
||||
<?php if($message = \Yii::$app->session->getFlash("remindMessage")): ?>
|
||||
<div class="success"><?=$message;?></div>
|
||||
<?php else: ?>
|
||||
<?php if($error = \Yii::$app->session->getFlash("error")): ?>
|
||||
<div class="error"><?=$error;?></div>
|
||||
<?php endif ;?>
|
||||
|
||||
<?php $form = ActiveForm::begin(); ?>
|
||||
<?= $form->field($remindForm, "email", ["options" => ["class" => "fLine"], "template" => "{input}"])->textInput(["class" => "inp", "placeholder" => "Введите ваш E-mail"]); ?>
|
||||
<div class="fLine"><input class="signinBtn inpBtn" value="Восстановить пароль" type="submit"></div>
|
||||
<?php ActiveForm::end(); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue