Files
notifications-admin/app/templates/views/service-settings/confirm.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

32 lines
779 B
HTML

{% extends "withnav_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 service_page_title %}
{{ heading }}
{% endblock %}
{% block maincolumn_content %}
{{ page_header(
heading,
back_link=url_for('main.service_settings', service_id=current_service.id)
) }}
<div class="grid-row">
<div class="column-three-quarters">
{% call form_wrapper() %}
{{ textbox(form.password, autocomplete='current-password') }}
{{ page_footer(
'Confirm',
destructive=destructive
) }}
{% endcall %}
</div>
</div>
{% endblock %}