Файл: templates/user/change_password.tpl
Строк: 31
<? $this->layout('app', ['title' => 'Смена пароля'])
?>
<? $this->start('container') ?>
<section
class="pt-120 pb-90 default-bg">
<div
class="container">
<div
class="row">
<div
class="col-lg-12">
<div class="post-content-block
contact-form parsley-validate" data-animate="fadeInUp">
<h4 class="font-weight-bold
mb-3">Смена пароля</h4>
<div class="form-response"></div>
<form action="/change_password"
method="POST">
<div
class="row half-gutter">
<div class="col-md-8">
<div
class="form-group">
<label>Пароль *</label>
<input type="password"
name="old_password" placeholder="Введите
текущий пароль" class="theme-input-style"
required>
<? if
(isset($form['error']['old_password'])) { ?>
<p class="help-block">
<small class="text-danger"><?=
$form['error']['old_password'] ?></small>
</p>
<? } ?>
</div>
</div>
<div
class="col-md-8">
<div class="form-group">
<label>Новый пароль:*</label>
<input type="password"
name="password" placeholder="Введите новый
пароль" class="theme-input-style">
<? if (isset($form['error']['password'])) {
?>
<p
class="help-block">
<small class="text-danger"><?=
$form['error']['password'] ?></small>
</p>
<? } ?>
</div>
</div>
<div
class="col-md-8">
<div
class="form-group">
<button
class="btn btn-lg btn-block" name="submit"
type="submit">Сменить</button>
</div>
</div>
</div>
</form>
</div>
<!-- End of Post Reply -->
</div>
</div>
</div>
</div>
</section>
<?
$this->stop() ?>