Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add template to change a user's passwort, should have been in a2d0a084d274
Roland Geiderce43a2c32af0
diff --git a/manager/templates/user/change_password.html b/manager/templates/user/change_password.htmlnew file mode 100644index 000000000..fbc20e0a3--- /dev/null+++ b/manager/templates/user/change_password.html@@ -0,0 +1,26 @@+{% extends "base.html" %}+{% load i18n %}++{% block title %}{% trans "Change password" %}{% endblock %}+++{% block content %}+<h2>{% trans "Change password" %}</h2>+++<form action="{% url manager.views.change_password %}"+ method="post"+ class="ym-form">+ {% csrf_token %}+ {{ form.non_field_errors }}+<table>+{% include "form_snippet.html" with field=form.old_password %}+{% include "form_snippet.html" with field=form.new_password1 %}+{% include "form_snippet.html" with field=form.new_password2 %}+ <tr>+ <td><input type="submit" value='{% trans "Register" %}' /></td>+ <td></td>+ </tr>+</table>+</form>+{% endblock %}