{% extends "security/panel.html" %}
{% block panel_title %}{{ _('%(appname)s Password Reset', appname=config.APP_NAME) }}{% endblock %}
{% block panel_body %}
{% if config.SERVER_MODE %}
<form action="{{ url_for('browser.reset_password', token=reset_password_token) }}" method="POST"
      name="reset_password_form">
    {{ reset_password_form.hidden_tag() }}
    <fieldset>
        <legend class="skip-navigation">{{ _('Reset Password Form') }}</legend>
        {{ render_field_with_errors(reset_password_form.password, "password") }}
        {{ render_field_with_errors(reset_password_form.password_confirm, "password") }}
        <input class="btn btn-lg btn-success btn-block" type="submit" value="{{ _('Reset Password') }}"
               title="{{ _('Reset Password') }}">
    </fieldset>
</form>
{% endif %}
{% endblock %}
