umap/youmap/templates/leaflet_storage/feature_form.html

17 lines
559 B
HTML
Raw Normal View History

2012-12-27 07:16:53 -06:00
{% load youmap_tags i18n %}
2012-12-15 12:05:42 -06:00
<form method="post" action="{{ action }}" id="feature_form" onsubmit="return false;" class="custom">
{% csrf_token %}
{{ form.no_field_errors }}
{% foundation_field form.name %}
{% foundation_field form.description %}
{% foundation_field form.color %}
<p>
{% foundation_field form.category %}
</p>
{{ form.latlng }}
<input type="submit" class="button" />
{% if delete_url %}
2012-12-27 07:16:53 -06:00
<a href="{{ delete_url }}" id="delete_feature_button" >{% trans "Delete" %}</a>
2012-12-15 12:05:42 -06:00
{% endif %}
</form>