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 %} {% endfor %}
{{ form.description }} {{ form.description }}
{{ form.description.errors }} {{ form.description.errors }}
<label>{{ form.licence.help_text }}</label>
{{ form.licence }} {{ form.licence }}
{{ form.licence.errors }} {% for error in form.licence.errors %}
<small class="error">{{ error|escape }}</small>
{% endfor %}
{{ form.zoom }} {{ form.zoom }}
{{ form.center }} {{ form.center }}
<input type="submit" class="button" /> <input type="submit" class="button" />