2020-10-02 20:32:19 +00:00
|
|
|
{% extends 'layout.html' %}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% load i18n %}
|
2020-10-02 20:32:19 +00:00
|
|
|
|
2021-02-28 18:00:36 +00:00
|
|
|
{% block title %}{% trans "Reset Password" %}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-10-02 20:32:19 +00:00
|
|
|
<div class="columns is-centered">
|
|
|
|
<div class="column is-half">
|
|
|
|
<div class="block">
|
2021-02-27 22:22:39 +00:00
|
|
|
<h1 class="title">{% trans "Reset Password" %}</h1>
|
2021-03-21 18:43:14 +00:00
|
|
|
|
|
|
|
{% if message %}<p class="notification is-primary">{{ message }}</p>{% endif %}
|
|
|
|
|
2021-02-27 22:22:39 +00:00
|
|
|
<p>{% trans "A link to reset your password will be sent to your email address" %}</p>
|
2021-01-12 16:48:31 +00:00
|
|
|
<form name="password-reset" method="post" action="/password-reset">
|
2020-10-02 20:32:19 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
<div class="field">
|
2021-02-27 22:22:39 +00:00
|
|
|
<label class="label" for="id_email_register">{% trans "Email address:" %}</label>
|
2020-10-02 20:32:19 +00:00
|
|
|
<div class="control">
|
|
|
|
<input type="email" name="email" maxlength="254" class="input" id="id_email_register">
|
2021-03-21 18:43:14 +00:00
|
|
|
{% if error %}
|
|
|
|
<p class="help is-danger">{{ error }}</p>
|
|
|
|
{% endif %}
|
2020-10-02 20:32:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field is-grouped">
|
|
|
|
<div class="control">
|
2021-02-27 22:22:39 +00:00
|
|
|
<button class="button is-link" type="submit">{% trans "Reset password" %}</button>
|
2020-10-02 20:32:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|