{% extends 'noel/base.html' %} {% block extra_head %} {% endblock %} {% block content %}
{{ form.as_table }}
 
{% if query %}

YOUR RESULTS:

{% for result in page.object_list %}

{{ result.object.title }}

{% empty %}

No results found.

{% endfor %} {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %}
{% if page.has_previous or page.has_next %}
{% if page.has_previous %}Previous{% endif %} | {% if page.has_next %}Next{% endif %}
{% endif %}
{% endblock %}