<title> Changing user data for {{user}} </title>

<h2> Changing user data for {{user}} </h2>
<br><br>
<form action={% url 'index' %} method="get">
	<input type="submit" value="Back to indexpage">
</form>
<br><br>
<form action={% url 'change_data' %} method="post">
	{% csrf_token %}
	<br>Firstname:<br>
	<input type="text" name="firstname" id="firstname" value="{{firstname}}">
	<br><br>Lastname:<br>
	<input type="text" name="lastname" id="lastname" value="{{lastname}}">
	<br><br>Email:<br>
	<input type="text" name="email" id="email" value="{{email}}">
	<br><br>
	<input type="submit" value="Submit">
</form>
