Add a custom template for "update map settings" form

See yohanboniface/Leaflet.Storage#22
This commit is contained in:
Yohan Boniface 2013-01-12 20:26:19 +01:00
parent 7d657c4d6d
commit 7bc90ccc0c

View file

@ -0,0 +1,12 @@
{% load umap_tags i18n %}
<h3>{% trans "Map settings" %}</h3>
<form action="{% url map_update_settings map.pk %}" method="post" id="map_edit">
{% csrf_token %}
{% for field in form %}
<div class="formbox">
{{ field }}
</div>
<small class="help-text">{{ field.help_text }}</small>
{% endfor %}
<input type="submit" class="button"/>
</form>