<title> Register an user at ungleich </title>

<h2> Register an user at ungleich </h2>
<br><br>
<form action={% url 'index' %} method="get">
	<input type="submit" value="Back to indexpage">
</form>
<br><br>
To register yourself an user, please fill out the fields below:
<br>
<form action={% url 'register' %} method="post">
	{% csrf_token %}
	<br>Username (alphanumeric):<br>
	<input type="text" name="username" id="username">
	<br>Password (at least 8 characters):<br>
	<input type="password" name="password1" id="password1">
	<br>Please confirm your Password:<br>
	<input type="password" name="password2" id="password2">
	<br>Firstname:<br>
	<input type="text" name="firstname" id="firstname">
	<br>Lastname:<br>
	<input type="text" name="lastname" id="lastname">
	<br>Emailaddress:<br>
	<input type="text" name="email" id="email">
	<br>
	<input type="submit" value="Submit">
</form>
