{% extends "admin/change_form.html" %}
{% load static %}
{# Overriding default template for the Venue change form, so we can include
the below CSS and JS. #}
{% block extrastyle %}
{{ block.super }}
{% if SPECTATOR_MAPS and SPECTATOR_MAPS.enable and SPECTATOR_MAPS.library == "mapbox" %}
{% endif %}
{% endblock extrastyle %}
{% block footer %}
{{ block.super }}
{% if SPECTATOR_MAPS and SPECTATOR_MAPS.enable %}
{# Best way of putting the config dict into a JS variable. #}
{{ SPECTATOR_MAPS|json_script:"spectator-maps-config" }}
{% if SPECTATOR_MAPS.library == "mapbox" %}
{% endif %}
{% endif %}
{% endblock footer %}