mybuddy/babybuddy/templates/registration/password_reset_form.html

33 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "registration/base.html" %}
{% load i18n static widget_tweaks %}
{% block title %}{% trans "Forgot Password" %}{% endblock %}
{% block content %}
<div class="text-center mb-4">
<p class="mb-0">
{% blocktrans trimmed %}
Enter your account email address in the form below. If the address
is valid, you will receive instructions for resetting your
password.
{% endblocktrans %}
</p>
</div>
<form method="post">
{% csrf_token %}
<label class="visually-hidden" for="email-input-group">
{{ form.email.label }}
</label>
<div class="input-group mb-3 fade-in">
<span class="input-group-text text-muted"><i class="icon-mail" aria-hidden="true"></i></span>
{% render_field form.email name='email' class+='form-control' id='email-input-group' placeholder=form.email.label %}
</div>
<button class="btn btn-primary w-100 fade-in" type="submit" name="reset">
{% trans "Reset Password" %}
</button>
</form>
{% endblock %}