Add label and errors to licence field in map form

This commit is contained in:
Yohan Boniface 2012-11-26 13:24:55 +01:00
parent ee34c4e2dd
commit ec565fb6ab

View file

@ -8,8 +8,11 @@
{% endfor %}
{{ form.description }}
{{ form.description.errors }}
<label>{{ form.licence.help_text }}</label>
{{ form.licence }}
{{ form.licence.errors }}
{% for error in form.licence.errors %}
<small class="error">{{ error|escape }}</small>
{% endfor %}
{{ form.zoom }}
{{ form.center }}
<input type="submit" class="button" />