Files
notifications-admin/app/templates/views/user-profile/authenticate.html
Chris Hill-Scott 92ea5894bb Add autocomplete attribute to password fields
This helps the browser autocomplete them with the right thing.

Value based on https://www.w3.org/TR/WCAG21/#input-purposes
2019-07-16 17:15:17 +01:00

29 lines
725 B
HTML

{% extends "withoutnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
{% block per_page_title %}
Change your {{ thing }}
{% endblock %}
{% block maincolumn_content %}
{{ page_header(
'Change your {}'.format(thing),
back_link=back_link
) }}
<div class="grid-row">
<div class="column-three-quarters">
{% call form_wrapper(autocomplete=True) %}
{{ textbox(form.password, autocomplete='current-password') }}
{{ page_footer('Confirm') }}
{% endcall %}
</div>
</div>
{% endblock %}