2015-01-22 15:56:23 +00:00
|
|
|
{% extends "security/panel.html" %}
|
2015-02-25 17:06:00 +00:00
|
|
|
{% block panel_title %}{{ _('%(appname)s Password Reset', appname=config.APP_NAME) }}{% endblock %}
|
2015-01-22 15:56:23 +00:00
|
|
|
{% block panel_body %}
|
2017-12-18 09:15:36 +00:00
|
|
|
{% if config.SERVER_MODE %}
|
2017-11-30 11:16:38 +00:00
|
|
|
<form action="{{ url_for('browser.reset_password', token=reset_password_token) }}" method="POST"
|
2016-06-21 14:21:06 +01:00
|
|
|
name="reset_password_form">
|
|
|
|
|
{{ reset_password_form.hidden_tag() }}
|
|
|
|
|
<fieldset>
|
2020-04-08 14:14:25 +05:30
|
|
|
<legend class="skip-navigation">{{ _('Reset Password Form') }}</legend>
|
2016-06-21 14:21:06 +01:00
|
|
|
{{ render_field_with_errors(reset_password_form.password, "password") }}
|
|
|
|
|
{{ render_field_with_errors(reset_password_form.password_confirm, "password") }}
|
2018-01-08 12:43:36 +00:00
|
|
|
<input class="btn btn-lg btn-success btn-block" type="submit" value="{{ _('Reset Password') }}"
|
|
|
|
|
title="{{ _('Reset Password') }}">
|
2016-06-21 14:21:06 +01:00
|
|
|
</fieldset>
|
2015-01-22 15:56:23 +00:00
|
|
|
</form>
|
2017-12-18 09:15:36 +00:00
|
|
|
{% endif %}
|
2015-01-22 15:56:23 +00:00
|
|
|
{% endblock %}
|