app-MAIL-temp/app/auth/templates/auth/forgot_password.html

35 lines
No EOL
1,010 B
HTML

{% extends "single.html" %}
{% block title %}
Forgot Password
{% endblock %}
{% block single_content %}
{% if error %}
<div class="text-danger text-center mb-4">{{ error }}</div>
{% endif %}
<form class="card" method="post">
{{ form.csrf_token }}
<div class="card-body p-6">
<div class="card-title">Forgot password</div>
<p class="text-muted">Enter your email address and your will receive an email to reset your password.</p>
<div class="form-group">
<label class="form-label">Email address</label>
{{ form.email(class="form-control", type="email", placeholder="Enter email") }}
{{ render_field_errors(form.email) }}
</div>
<div class="form-footer">
<button type="submit" class="btn btn-primary btn-block">Reset Password</button>
</div>
</div>
</form>
<div class="text-center text-muted">
Forget it, <a href="{{ url_for('auth.login') }}">send me back</a> to the sign in screen.
</div>
{% endblock %}