Skip to content
Extraits de code Groupes Projets
Valider ec565fb6 rédigé par Yohan Boniface's avatar Yohan Boniface
Parcourir les fichiers

Add label and errors to licence field in map form

parent ee34c4e2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,8 +8,11 @@ ...@@ -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" />
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter