moviewyrm/bookwyrm/templates/password_reset.html

43 lines
1.5 KiB
HTML
Raw Normal View History

2020-10-02 20:32:19 +00:00
{% extends 'layout.html' %}
{% block content %}
<div class="columns">
<div class="column">
<div class="block">
2020-11-09 20:06:44 +00:00
<h1 class="title">Reset Password</h1>
2020-10-02 20:32:19 +00:00
{% for error in errors %}
<p class="is-danger">{{ error }}</p>
{% endfor %}
<form name="password-reset" method="post" action="/password-reset/{{ code }}">
2020-10-02 20:32:19 +00:00
{% csrf_token %}
<div class="field">
<label class="label" for="id_password">Password:</label>
<div class="control">
<input type="password" name="password" maxlength="128" class="input" required="" id="id_password">
</div>
</div>
<div class="field">
<label class="label" for="id_confirm_password">Confirm password:</label>
<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">
<button class="button is-primary" type="submit">Confirm</button>
</div>
</div>
</form>
</div>
</div>
<div class="column">
<div class="block">
{% include 'snippets/about.html' %}
2020-10-02 20:32:19 +00:00
</div>
</div>
</div>
{% endblock %}