moviewyrm/bookwyrm/templates/preferences/change_password.html

24 lines
934 B
HTML
Raw Normal View History

2021-01-29 17:28:00 +00:00
{% extends 'preferences/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 %}
<div class="block">
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>
<div class="block">
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 %}