{% comment %}
# This file is part of k4ever, a point-of-sale system
#   Contact............  <k4ever@lists.someserver.de>
#   Website............  http://k4ever.someserver.de/
#   Bug tracker........  http://k4ever.someserver.de/report
#
# Licensed under GNU Affero General Public License v3 or later
{% endcomment %}

{% if form.errors %}
	<div class="alert alert-error alert-block">
		<h4 class="alert-heading">Deine Logindaten sind fehlerhaft</h4>
		<p>Versuch es nochmal, aber achte auf CAPSLOCK und tippe nicht so schnell.</p>
	</div>
{% endif %}

<form class="form-horizontal" method="post" action="/user/login/">
	{% csrf_token %}
	<input type="hidden" name="next" value="{{ next }}" />

	{% include "form.html" with form=form %}

	<div class="control-group">
		<div class="controls">
			<input type="submit" class="btn btn-primary" value="Anmelden" />
		</div>
	</div>
</form>

