summaryrefslogtreecommitdiff
path: root/chimere/templates/upload_file.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-09-16 12:01:35 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-09-16 12:01:35 +0200
commit72b90178a91e2c24d6a35d5b46761d1b6d23d4ae (patch)
tree897d6df3c83e522f4de28fabf37ff23d1eb071f6 /chimere/templates/upload_file.html
parent518abc0e4a66c2bca84f87d162e91a6d66094621 (diff)
downloadChimère-72b90178a91e2c24d6a35d5b46761d1b6d23d4ae.tar.bz2
Chimère-72b90178a91e2c24d6a35d5b46761d1b6d23d4ae.zip
Add an error message when the file is not correct.
Diffstat (limited to 'chimere/templates/upload_file.html')
-rw-r--r--chimere/templates/upload_file.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/chimere/templates/upload_file.html b/chimere/templates/upload_file.html
index 50c1150..06c89ad 100644
--- a/chimere/templates/upload_file.html
+++ b/chimere/templates/upload_file.html
@@ -23,6 +23,9 @@
{% endif %}
<fieldset class='edit'>
<legend>{% trans "Upload a file" %}</legend>
+{% if errors %}
+<ul class="errorlist"><li>{{errors}}</li></ul>
+{% endif %}
{% if category %}<h3>{{category}}</h3>{% endif %}
<div class="fieldWrapper">
{% if gpx_id %}