{% extends "mapit/base.html" %} {% load i18n %} {% block title %}{{ area.name }}{% endblock title %} {% block content %} {% url "mapit_index" as index_url %}

{{ area.name }} ID {{ area.id }}

{% with area.id|slugify as area_id %}

{% blocktrans with json_url=index_url|add:"area/"|add:area_id %}Get this data as JSON{% endblocktrans %}

{% endwith %}
{% if area.polygons.count %}
{% endif %}
{% endblock %}