You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
{% extends "layout.html" %}
|
|
{% from "_macros.html" import render_field_with_label, render_field %}
|
|
|
|
{% block title %}Forgot Password - packetcrypt{% endblock %}
|
|
{% block flash %}
|
|
{% for field in forgot_password_form.errors %}
|
|
{% for error in forgot_password_form.errors[field] %}
|
|
<div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="form-container" class="uk-width-3-5 uk-panel uk-panel-box uk-container-center">
|
|
<form action="{{ url_for_security('forgot_password') }}" method="POST" name="forgot_password_form" class="uk-form">
|
|
{{ forgot_password_form.hidden_tag() }}
|
|
{{ render_field_with_label(forgot_password_form.email) }}
|
|
{{ render_field(forgot_password_form.submit, class="uk-button") }}
|
|
</form>
|
|
<div id="form-info" class="uk-align-right uk-text-info">
|
|
Enter the email-address associated with your account to the left.
|
|
Instructions on resetting your password will be emailed to you.
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|