/
reset.html.tpl
27 lines (27 loc) · 1.41 KB
/
reset.html.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "admin/admin.simple.html.tpl" %}
{% block title %}Recover{% endblock %}
{% block body_style %}{{ super() }} {% if background %}background:url({{ background }});{% endif %}{% endblock %}
{% block content %}
<div class="login-panel {% if error %}login-panel-message{% endif %}">
<h1>Reset password</h1>
<h3>Define a new password for you account</h3>
{% if error %}
<div class="quote error">{{ error }}</div>
{% endif %}
<form action="{{ url_for('admin.reset_do') }}" method="post" class="form">
<input type="hidden" name="next" value="{{ next|default('', True) }}" />
<input type="hidden" name="reset_token" value="{{ reset_token }}" />
<div class="input">
<input type="password" class="text-field full focus" name="password"
autocomplete="new-password" value="{{ password }}" placeholder="password" />
</div>
<div class="input">
<input type="password" class="text-field full" name="password_confirm"
autocomplete="new-password" value="{{ password_confirm }}" placeholder="confirm password" />
</div>
<div class="buttons">
<span class="button medium button-color button-blue" data-submit="true">Reset</span>
</div>
</form>
</div>
{% endblock %}