From f735fa16e59ea42cf20c6de62e7645fffa9286a8 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sun, 19 May 2013 00:14:55 +0200 Subject: [PATCH] Display non field errors in upload form --- umap/templates/leaflet_storage/upload_form.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/umap/templates/leaflet_storage/upload_form.html b/umap/templates/leaflet_storage/upload_form.html index bd646b71..25f244ee 100644 --- a/umap/templates/leaflet_storage/upload_form.html +++ b/umap/templates/leaflet_storage/upload_form.html @@ -2,6 +2,9 @@

{% trans "Upload features" %}

{% csrf_token %} + {% if form.non_field_errors %} +
{{ form.non_field_errors }}
+ {% endif %} {% for field in form %} {% foundation_field field %} {% endfor %}