umap/youmap/templates/chickpea/map_update_tilelayers.html
2012-12-21 16:41:48 +01:00

19 lines
No EOL
770 B
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% load chickpea_tags %}
<h3>Choose your tilelayer</h3>
<form action="{% url map_update_tilelayers map.pk %}" method="post" id="map_edit">
{% csrf_token %}
<ul class="block-grid two-up mobile">
{% for tilelayer in tilelayers %}
<li>
<label for="tilelayer_{{ forloop.counter }}">
{% tilelayer_preview tilelayer %}<div class="panel">
<input type="radio" id="tilelayer_{{ forloop.counter }}" name="tilelayer" value="{{ tilelayer.pk }}" {% if tilelayer in map.tilelayers.all %}checked{% endif %} />
{{ tilelayer.name }}
</div>
</label>
</li>
{% endfor %}
<div class="row twelve columns">
<input type="submit" class="button" />
</div>
</form>