{% extends 'ops/base_ops.html' %} {% load static %} {% block title %}{{ page_title }} - IXG Operations{% endblock %} {% block extra_head %} {% if show_zone_map %} {% endif %} {% endblock %} {% block content %} {% if messages %} {% for m in messages %}
{{ m }}
{% endfor %} {% endif %}
{% csrf_token %} {% if form.non_field_errors %} {% for e in form.non_field_errors %}
{{ e }}
{% endfor %} {% endif %} {% for field in form %}
{% if field.field.widget.input_type == 'checkbox' %}
{{ field }}
{% else %} {{ field }} {% endif %} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% for e in field.errors %}
{{ e }}
{% endfor %}
{% endfor %} Cancel
{% if case %}
Due-diligence case

Batch {{ case.batch.batch_reference }}

Status: {{ case.get_status_display }}

{% endif %} {% if show_zone_map %}
Area on a map
{% if zone_has_geometry %}

Drawn from the stored polygon. A view, not a check: it does not validate the geometry and it does not verify the zone.

{% else %}

No polygon coordinates are stored for this zone yet, so there is nothing to draw. Paste GeoJSON into the Geometry field and save, and the area appears here. A view, not a check: it does not validate the geometry and it does not verify the zone.

{% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {% if show_zone_map and zone_has_geometry %} {% endif %} {% endblock %}