50 lines
2 KiB
HTML
50 lines
2 KiB
HTML
|
{% extends "default/_layout.html" %}
|
||
|
|
||
|
{% block title %}Смена пароля{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<div class="row">
|
||
|
<div class="large-12 columns">
|
||
|
<h2>Личный кабинет</h2>
|
||
|
</div>
|
||
|
<div class="large-12 columns">
|
||
|
<ul class="inline-list">
|
||
|
<li><a href="{{ url_for('account.index') }}">Учётная запись</a></li>
|
||
|
<li><a href="{{ url_for('account.billing') }}">Биллинг</a></li>
|
||
|
{# <li><a href='{{ url_for('account.settings') }}'>Настройки</a></li>#}
|
||
|
<li><a href='{{ url_for('account.password_update') }}'>Смена пароля</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="large-12 columns">
|
||
|
<h3>Смена пароля</h3>
|
||
|
</div>
|
||
|
<div class="large-12 columns">
|
||
|
{% if g.errors['total'] > 0 %}
|
||
|
<div data-alert class="alert-box alert">
|
||
|
{% for error in g.errors['items'] %}
|
||
|
{{ error }}
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
<form action="{{ url_for('account.password_update') }}" method="post">
|
||
|
<label>
|
||
|
Старый пароль
|
||
|
<input type="password" name="old_password" value="" />
|
||
|
</label>
|
||
|
<label>
|
||
|
Новый пароль
|
||
|
<input type="password" name="new_password" value="" />
|
||
|
</label>
|
||
|
<label>
|
||
|
Новый пароль (повторно)
|
||
|
<input type="password" name="new_password_confirm" value="" />
|
||
|
</label>
|
||
|
<input type="submit" value="Сменить пароль" class="button success" />
|
||
|
<a href="{{ url_for('account.index') }}" class="button secondary">Отмена</a>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|