mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-02 05:19:12 -06:00
d9f6baac72
- Using the 'gettext' as oppose to '_', which is not defined - Define missing variables - Fixed escape character in string with double quote - Removed some dead code in a test case - Removed unnecessary self assignment Includes some fixes for Accessibility improvements - Use semantic markup to mark emphasized or special text - Added hidden legend in <fieldset> for better screen reader support
18 lines
831 B
HTML
18 lines
831 B
HTML
{% 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 %}
|