{% extends "base.html" %} {% block content %}

{{ query.title }}

{{ query.description }}
{% csrf_token %}

{% if headers %} {% for header in headers %} {% endfor %} {% for row in rows %} {% for col in row %} {% endfor %} {% empty %} {% endfor %}
{{ header }}
{{ col }}
Query returned no results.
{% endif %} {% endblock content %}