mybuddy/babybuddy/templates/registration/password_reset_form.html

31 lines
1.1 KiB
HTML

{% extends "registration/base.html" %}
{% load i18n static widget_tweaks %}
{% block title %}{% trans "Forgot Password" %}{% endblock %}
{% block content %}
<div class="text-center mb-4">
{% blocktrans %}<p class="mb-0">Enter your account email address in the
form below. If the address is valid, you will receive instructions for
resetting your password.</p>{% endblocktrans %}
</div>
<form method="post">
{% csrf_token %}
<label class="sr-only" for="email-input-group">
{{ form.email.label }}
</label>
<div class="input-group mb-3 fade-in">
<div class="input-group-prepend">
<span class="input-group-text"><i class="icon icon-envelope" aria-hidden="true"></i></span>
</div>
{% 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 %}