Debian Codegraph @

flask_security/templates/security/recover_username.html

raw
1 {% set title = title|default(_fsdomain('Username Recovery')) %}
2 {% extends "security/base.html" %}
3 {% from "security/_macros.html" import render_field_with_errors, render_field, render_field_errors, render_form_errors %}
4
5 {% block content %}
6 {% include "security/_messages.html" %}
7 <h1>{{ _fsdomain('Username Recovery') }}</h1>
8 <form action="{{ url_for_security('recover_username') }}" method="post" name="username_recovery_form">
9 {{ username_recovery_form.hidden_tag() }}
10 {{ render_form_errors(username_recovery_form) }}
11 {{ render_field_with_errors(username_recovery_form.email) }}
12 {{ render_field_errors(username_recovery_form.csrf_token) }}
13 {{ render_field(username_recovery_form.submit) }}
14 </form>
15 {% include "security/_menu.html" %}
16 {% endblock content %}