{% extends "base.html" %}

{% block content %}
<table style="align: center; width: 50%; margin-left: auto; margin-right: auto">
	<tbody>
		<tr>
			<td>
				<h3>Benutzerdetails editieren:</h3>
				<form action="" method="post">
					{% csrf_token %}
					<b>Benutzername:</b><br/>
					{{ user.username }} <i>(not editable)</i><br/><br/>
					<b>First Name:</b><br/>
                                        {{ editform.firstname }} <i>(optional)</i><br/><br/>
					<b>Last Name:</b><br/>
                                        {{ editform.lastname }} <i>(optional)</i><br/><br/>
					<b>EMail-Address:</b><br/>
                                        {{ editform.email }} <i>(optional)</i><br/><br/>
					<b>Password:</b><br/>
					{{ editform.password }}<br/>
					<small>Hint: Leave this field empty if you don't want to change your password.</small><br/>
					<input type="submit" value="Submit" />
				</form>

			
			</td>
		</tr>
	</tbody>
</table>
{% endblock %}

