mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Refactored the forms so that fields like email_address can be used in multiple forms. Refactored form validation so that a query function is passed into the form to be run, this way the form is not exposed to the dao layer and the query is more efficient. This PR still requires some frontend attention. Will work with Chris to update the templates.
26 lines
614 B
HTML
26 lines
614 B
HTML
{% extends "admin_template.html" %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify
|
|
{% endblock %}
|
|
|
|
{% block fullwidth_content %}
|
|
|
|
<div class="grid-row">
|
|
<div class="column-two-thirds">
|
|
<h1 class="heading-xlarge">Create a new password</h1>
|
|
|
|
<p>If you have forgotten your password, we can send you an email to create a new password.</p>
|
|
|
|
<form autocomplete="off" action="" method="post">
|
|
{{ form.hidden_tag() }}
|
|
{{ render_field(form.email_address, class='form-control-2-3') }}
|
|
<p>
|
|
<button class="button" role="button">Send email</button>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|