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

Use foundation_field in map_form.html

parent a08d1901
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -66,4 +66,7 @@ input:-moz-placeholder, :-moz-placeholder { ...@@ -66,4 +66,7 @@ input:-moz-placeholder, :-moz-placeholder {
} }
#reveal-container textarea { #reveal-container textarea {
height: 100px; height: 100px;
}
#reveal-container select {
margin-bottom: 10px;
} }
\ No newline at end of file
{% load youmap_tags %}
<h3>Create your map now!</h3> <h3>Create your map now!</h3>
<form action="{{ action_url }}" method="post" id="map_edit"> <form action="{{ action_url }}" method="post" id="map_edit">
{% for error in form.non_field_errors %} {% for error in form.non_field_errors %}
<small class="error">{{ error }}</small> <small class="error">{{ error }}</small>
{% endfor %} {% endfor %}
{% csrf_token %} {% csrf_token %}
{{ form.name }} {% foundation_field form.name %}
{% for error in form.name.errors %} {% foundation_field form.description %}
<small class="error">{{ error|escape }}</small> {% foundation_field form.licence %}
{% endfor %}
{{ form.description }}
{{ form.description.errors }}
<label>{{ form.licence.help_text }}</label>
{{ form.licence }}
{% 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.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter