{% if form.non_field_errors %}
	<div class="alert-message alert-error alert-block">
		{% for error in form.non_field_errors %}
		{{ error }}
		{% endfor %}
	</div>
{% endif %}

{% for field in form.visible_fields %}
	{% include 'field.inc.html' %}
{% endfor %}

{{ form.hidden_fields|join:'' }}