{% 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 %}

{% for field in form %}
	<div class="control-group {% if field.errors %}error{% endif %}">
		{{ field.label_tag }}
		<div class="controls">
			{{ field }}
			{% if field.errors %}
				<p class="help-block">{{ field.errors }}</p>
			{% endif %}
		</div>
	</div>
{% endfor %}