{% load django_sql_dashboard %} {{ title }}

{{ title }}

{% if not saved_dashboard %}

{% for table in available_tables %}{{ table }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% else %}

{{ description }}

{% endif %}
{% if not saved_dashboard %}{% csrf_token %}{% endif %} {% if parameter_values %}

Query parameters

{% for name, value in parameter_values %} {% endfor %}
{% endif %} {% for result in query_results %} {% include result.templates with result=result %} {% endfor %} {% if not saved_dashboard %}

Add another query:

{% endif %}