Customize upload_form

But it's urgent to get rid of jQuery and Foundation, and get a simpler
stack.
This commit is contained in:
Yohan Boniface 2013-02-02 22:02:32 +01:00
parent 1f9d772e88
commit 09651544e6

View file

@ -0,0 +1,36 @@
{% load i18n umap_tags %}
<h3>{% trans "Upload features" %}</h3>
<form action="{{ action_url }}" method="post" enctype="multipart/form-data" id="upload_data">
{% csrf_token %}
{% for field in form %}
{% foundation_field field %}
{% endfor %}
<input type="submit" class="button" />
</form>
<h5>{% trans "Details on formats" %}</h5>
<ul class="accordion">
<li class="active">
<div class="title">
<h5>{% trans "GeoJSON" %}</h5>
</div>
<div class="content">
{% trans "Properties used: name or title, description, color" %}
</div>
</li>
<li class="active">
<div class="title">
<h5>{% trans "KML" %}</h5>
</div>
<div class="content">
{% trans "Properties used: name, description" %}
</div>
</li>
<li class="active">
<div class="title">
<h5>{% trans "GPX" %}</h5>
</div>
<div class="content">
{% trans "Properties used: name, desc" %}
</div>
</li>
</ul>