{% extends "base.html" %} {% block content %}
{% for msg in errors %}
{{ msg }}
{% endfor %} {% if results is not none %}

Results {% if stats %}— {{ stats.count }} doc{{ '' if stats.count == 1 else 's' }} from {{ stats.ns }}{% endif %}

{% if results %}
{% for body in results %}
{{ body }}
{% endfor %}
{% else %}

No documents.

{% endif %} {% endif %} {% if history %}

Recent

{% endif %}
{% endblock %}