{% extends "security/panel.html" %}
{% block panel_title %}{{ _('%(appname)s Password Change', appname=config.APP_NAME) }}{% endblock %}
{% block panel_body %}
{% if config.SERVER_MODE %}
<form action="{{ url_for('browser.change_password') }}" method="POST" name="change_password_form">
    {{ change_password_form.hidden_tag() }}
    <fieldset>
        {{ render_field_with_errors(change_password_form.password, "password") }}
        {{ render_field_with_errors(change_password_form.new_password, "password") }}
        {{ render_field_with_errors(change_password_form.new_password_confirm, "password") }}
        <input class="btn btn-lg btn-success btn-block" type="submit" value="{{ _('Change Password') }}"
               title="{{ _('Change Password') }}">
    </fieldset>
</form>
{% endif %}
{% endblock %}
