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">
|
|
|
|
<div class="column">
|
|
|
|
<div class="block">
|
2021-02-28 02:48:10 +00:00
|
|
|
<h1 class="title">{% trans "Reset Password" %}</h1>
|
2020-10-02 20:32:19 +00:00
|
|
|
{% for error in errors %}
|
|
|
|
<p class="is-danger">{{ error }}</p>
|
|
|
|
{% endfor %}
|
2021-01-12 16:48:31 +00:00
|
|
|
<form name="password-reset" method="post" action="/password-reset/{{ code }}">
|
2020-10-02 20:32:19 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
<div class="field">
|
2021-02-28 02:48:10 +00:00
|
|
|
<label class="label" for="id_password">{% trans "Password:" %}</label>
|
2020-10-02 20:32:19 +00:00
|
|
|
<div class="control">
|
|
|
|
<input type="password" name="password" maxlength="128" class="input" required="" id="id_password">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
2021-02-28 02:48:10 +00:00
|
|
|
<label class="label" for="id_confirm_password">{% trans "Confirm password:" %}</label>
|
2020-10-02 20:32:19 +00:00
|
|
|
<div class="control">
|
|
|
|
<input type="password" name="confirm-password" maxlength="128" class="input" required="" id="id_confirm_password">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field is-grouped">
|
|
|
|
<div class="control">
|
2021-02-28 02:48:10 +00:00
|
|
|
<button class="button is-primary" type="submit">{% trans "Confirm" %}</button>
|
2020-10-02 20:32:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="column">
|
|
|
|
<div class="block">
|
2020-12-11 20:07:37 +00:00
|
|
|
{% include 'snippets/about.html' %}
|
2020-10-02 20:32:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|