{% extends 'global.html'%}
{% load static %}
{% load widget_tweaks %}

# {% block title %}Registrierung{% endblock %}

{% block maincontent %}

<form class="LP-Form" method="POST">
	<fieldset class="LP-Form__Fieldset">
		<legend class="LP-Form__Legend">Registrierung</legend>
		{% csrf_token %}
		<div class="LP-Form__Composition LP-Form__Composition--breakable">
			<div class="LP-Form__Field">
				{% include 'partials/form/inputField.html' with field=form.username %}
			</div>
			<div class="LP-Form__Field">
				{% include 'partials/form/inputField.html' with field=form.email %}
			</div>
		</div>

		<div class="LP-Form__Composition">
			<div class="LP-Form__Field">
				{% include 'partials/form/inputField.html' with field=form.password1 %}
			</div>
		</div>
		<div class="LP-Form__Composition">
			<div class="LP-Form__Field">
				{% include 'partials/form/inputField.html' with field=form.password2 %}
			</div>
		</div>
		<div class="LP-Form__Composition">
			<div class="LP-Form__Field">
				{% include 'partials/form/inputField.html' with field=form.voucher %}
			</div>
		</div>

		<div class="LP-Form__Composition">
			<input type="submit" class="LP-Button" value="Registrieren"/>
		</div>
	</fieldset>

</form>

{% endblock maincontent %}