2012-11-20 03:47:19 -06:00
|
|
|
<h3>Create your map now!</h3>
|
|
|
|
<form action="{{ action_url }}" method="post" id="map_edit">
|
|
|
|
{{ form.non_field_errors }}
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form.name }}
|
|
|
|
{% for error in form.name.errors %}
|
|
|
|
<small class="error">{{ error|escape }}</small>
|
|
|
|
{% endfor %}
|
|
|
|
{{ form.description }}
|
|
|
|
{{ form.description.errors }}
|
2012-11-26 06:24:55 -06:00
|
|
|
<label>{{ form.licence.help_text }}</label>
|
2012-11-21 10:50:27 -06:00
|
|
|
{{ form.licence }}
|
2012-11-26 06:24:55 -06:00
|
|
|
{% for error in form.licence.errors %}
|
|
|
|
<small class="error">{{ error|escape }}</small>
|
|
|
|
{% endfor %}
|
2012-11-20 03:47:19 -06:00
|
|
|
{{ form.zoom }}
|
|
|
|
{{ form.center }}
|
|
|
|
<input type="submit" class="button" />
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
2012-11-26 04:42:03 -06:00
|
|
|
L.Util.Xhr.listen_form('map_edit');
|
2012-11-20 03:47:19 -06:00
|
|
|
</script>
|