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/settings/index.php
Normal file
29
views/settings/index.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
/* @var $this \yii\web\View */
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
/* @var $model \app\models\setPasswordForm */
|
||||
|
||||
$this->title = \Yii::$app->name.' - настройки';
|
||||
?>
|
||||
<div class="registration">
|
||||
<div class="cont clfix">
|
||||
<h2>Настройки</h2>
|
||||
|
||||
<?php if(($success = \Yii::$app->session->getFlash("success"))): ?>
|
||||
<p class="success"><?=$success;?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($error = \Yii::$app->session->getFlash("error")): ?>
|
||||
<div class="error"><?=$error;?></div>
|
||||
<?php endif ;?>
|
||||
|
||||
<?php $form = ActiveForm::begin(); ?>
|
||||
<?= $form->field($model, "oldpassword", ["options" => ["class" => "fLine"], "template" => "{input}"])->passwordInput(["class" => "inp", "placeholder" => "Введите текущий пароль"]); ?>
|
||||
<?= $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="button" value="Установить пароль" type="submit"></div>
|
||||
<?php ActiveForm::end(); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue