Add a custom template for "update map settings" form
See yohanboniface/Leaflet.Storage#22
This commit is contained in:
parent
7d657c4d6d
commit
7bc90ccc0c
1 changed files with 12 additions and 0 deletions
12
umap/templates/leaflet_storage/map_update_settings.html
Normal file
12
umap/templates/leaflet_storage/map_update_settings.html
Normal 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>
|
Loading…
Reference in a new issue