{% extends "base.html" %} {% block title %}Debug autocomplete{% endblock %} {% block extra_head %} {{ super() }} {% endblock %} {% block content %}

Debug autocomplete

{% if error %}

{{ error }}

{% elif autocomplete_url %}

{{ database_name }} / {{ table_name }}

{% if label_column %}

Label column: {{ label_column }}

{% else %}

No label column detected. Results will use primary key values.

{% endif %}

Selected row

No row selected.
{% else %}

Suggested tables

{% if suggestions %}

Showing up to five tables with a detected label column.

{% for suggestion in suggestions %} {% endfor %}
Database Table Label column
{{ suggestion.database }} {{ suggestion.table }} {{ suggestion.label_column }}
{% else %}

No tables with detected label columns found.

{% endif %}

Scanned {{ scanned }} table{% if scanned != 1 %}s{% endif %}{% if reached_scan_limit %}; stopped at the 100 table scan limit{% endif %}.

{% endif %} {% endblock %}