Display non field errors in upload form

This commit is contained in:
Yohan Boniface 2013-05-19 00:14:55 +02:00
parent 7d4e94e5fd
commit f735fa16e5

View file

@ -2,6 +2,9 @@
<h3>{% trans "Upload features" %}</h3>
<form action="{{ action_url }}" method="post" enctype="multipart/form-data" id="upload_data">
{% csrf_token %}
{% if form.non_field_errors %}
<div class="error">{{ form.non_field_errors }}</div>
{% endif %}
{% for field in form %}
{% foundation_field field %}
{% endfor %}