mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-29 18:40:10 -04:00
This commit: - uses WTForms email fields wherever we collect email addresses - makes sure we don’t let the default HTML5 form validation get trigged (using `novalidate`[1]) We don’t want to use the default validation because: - it looks out of place - it’s not well supported by assistive technology 1. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate
26 lines
633 B
HTML
26 lines
633 B
HTML
{% extends "withoutnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block per_page_title %}
|
||
Create a new password
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<div class="grid-row">
|
||
<div class="column-two-thirds">
|
||
<h1 class="heading-large">Forgot your password?</h1>
|
||
|
||
<p>We’ll send you an email to create a new password.</p>
|
||
|
||
<form autocomplete="off" method="post" novalidate>
|
||
{{ textbox(form.email_address, safe_error_message=True) }}
|
||
{{ page_footer("Send email") }}
|
||
</form>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|