{% extends "layout.html" %} {% block title %}{{db_name}} Query{% endblock %} {% block top_javascript %} {% endblock %} {% block css %} {% endblock %} {% block content %}

Query

{% if results %}

Results

{% for f in fields %} {% endfor %} {% for r in results %} {% for f in fields %} {% if f == mapped_names[unique_key] %} {% else %} {% endif %} {% endfor %} {% endfor %}
{{f}}
{{r[f]|safe}} {{r[f]|safe}}
{% endif %} {% if error_message %}

{{ error_message }}

{% endif %} {% endblock %}