moviewyrm/bookwyrm/templates/preferences/change_password.html

24 lines
922 B
HTML
Raw Normal View History

2021-06-14 16:57:51 +00:00
{% extends 'preferences/layout.html' %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
{% block title %}{% trans "Change Password" %}{% endblock %}
{% block header %}
2021-02-28 02:48:10 +00:00
{% trans "Change Password" %}
{% endblock %}
{% block panel %}
<form name="edit-profile" action="{% url 'prefs-password' %}" method="post" enctype="multipart/form-data">
{% csrf_token %}
2021-09-28 18:09:24 +00:00
<div class="field">
2021-02-28 02:48:10 +00:00
<label class="label" for="id_password">{% trans "New password:" %}</label>
<input type="password" name="password" maxlength="128" class="input" required="" id="id_password">
</div>
2021-09-28 18:09:24 +00:00
<div class="field">
2021-02-28 02:48:10 +00:00
<label class="label" for="id_confirm_password">{% trans "Confirm password:" %}</label>
<input type="password" name="confirm-password" maxlength="128" class="input" required="" id="id_confirm_password">
</div>
2021-02-28 18:09:56 +00:00
<button class="button is-primary" type="submit">{% trans "Change Password" %}</button>
</form>
{% endblock %}