{% 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 }}

{% block area_info_extra %}{% endblock %}
{% if area.polygons.count %} {% include "mapit/map/init.html" %} {% with area.id|slugify as area_id %} {% include "mapit/map/json.html" with geojson_url="area/"|add:area_id %} {% endwith %} {% endif %}
{% endblock %}