Add label and errors to licence field in map form
This commit is contained in:
parent
ee34c4e2dd
commit
ec565fb6ab
1 changed files with 4 additions and 1 deletions
|
@ -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" />
|
||||||
|
|
Loading…
Reference in a new issue