<title> Changing the password for {{user}} </title>

<h2> Changing the password for {{user}} </h2>
<br><br>
<form action={% url 'index' %} method="get">
	<input type="submit" value="Back to indexpage">
</form>
<br><br>
To change the password for {{user}}, please supply 
<form action={% url 'change_password' %} method="post">
	{% csrf_token %}
	<br>The old password:<br>  
	<input type="password" name="oldpassword" id="oldpassword">
	<br><br>The new password (at least 8 characters):<br>
	<input type="password" name="password1" id="password1">
	<br>Please repeat the new Password:<br>
	<input type="password" name="password2" id="password2">
	<br><br>
	<input type="submit" value="Submit">
</form>
