Display non field errors in upload form
This commit is contained in:
parent
7d4e94e5fd
commit
f735fa16e5
1 changed files with 3 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue