{% extends "base.html" %} {% block comments %} {% endblock %} {% load tz %} {% load add_attrs %} {% block header %} {% if maps_version == 'OPEN_STREET_MAPS' %} {% else %} {% if maps_version == 'DEVELOPER' %} {% elif maps_version == 'FREE' %} {% elif maps_version == 'BUSINESS' %} {% endif %} {% endif %} {% for js in js_extensions %} {% endfor %} {% for css in css_extensions %} {% endfor %} {% endblock %} {% block header_row %}

{{ report.title }}

{% endblock %} {% block content %} {% if report.description %}
{{ report.description | safe }}
{% endif %} {% if missing_devices %}

{% if is_superuser %} This report requires the following devices to be added or enabled: '{{ missing_devices }}'. Please visit Devices. {% else %} This report requires the following devices to be added or enabled: '{{ missing_devices }}'. Please contact a system administrator. {% endif %}

{% endif %} {% if not report.hide_criteria %} {% if report.reload_minutes == 0 or report.live %}
{% csrf_token %}
{% if form.errors %}

Please correct the errors below.

{% endif %} {% for s in section_map %}
{% if show_sections %}
{{ s.title }}
{% endif %}
{% for field in form.visible_fields %} {% if field.name in s.parameters %}
{{ field|addcss:"form-control" }}
{% if field.errors %} {% for err in field.errors %}

{{ err }}

{% endfor %} {% endif %} {% if field.help_text %} {% endif %}
{% endif %} {% endfor %}
{% endfor %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %}
{% if not missing_devices %}
{% endif %}
{% endif %} {% endif %}
{% if report.hide_criteria %}   {% else %} Report {% endif %}
{% endblock %}