Implement password resets

This commit is contained in:
rubenwardy
2020-12-05 00:18:00 +00:00
parent f7d90f2f53
commit 5f7c0a3b24
3 changed files with 65 additions and 6 deletions

View File

@@ -0,0 +1,23 @@
{% extends "base.html" %}
{% block title %}
Request Password Reset
{% endblock %}
{% block content %}
{% from "macros/forms.html" import render_field, render_checkbox_field, render_submit_field %}
<div class="card">
<h2 class="card-header">{{ _("Request Password Reset") }}</h2>
<form action="" method="POST" class="form card-body" role="form">
{{ form.hidden_tag() }}
{{ render_field(form.email) }}
<p>
{{ render_submit_field(form.submit, tabindex=180) }}
</p>
</form>
</div>
{% endblock %}